[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trapping CTRL-ALT-...




Can other key combinations in addition to CTRL-ALT-DEL be trapped?

 From /etc/inittab:

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

I was just wondering if other key combinations can be trapped and if so 
how?  For example, can I trap CTRL-ALT-1 and assign it to run 
'/sbin/init 1'

Regards,
- Robert


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.