Re: shutdown.allow und inittab
Hallo,
> Hallo, kann ich die Zeile in der inittab wie folgt ändern, so daß
> Strg+Alt+F12 zum Shutdown führt?
> # What to do when CTRL-ALT-DEL is pressed. #original:
> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
> #meine Version ca:12345:ctrlaltF12:/sbin/shutdown -t1 -a -r now
Unwahrscheinlich,
$ strings /sbin/init | egrep ctrlalt"(del|F12)"
ctrlaltdel
$ su -c "dumpkeys | egrep '(F12|Boot)'"
Password:
altgr control keycode 83 = Boot
control alt keycode 83 = Boot
keycode 88 = F12 F24
altgr control keycode 111 = Boot
control alt keycode 111 = Boot
string F12 = "\033[24~"
Vielleicht hilft Boot mit
control alt keycode 88 = Boot
neu zu definieren und dann die Keyboard-Tabelle mit loadkeys[1][2] neu
zu laden?
Gruss,
______________
[1] man loadkeys
[2] /usr/share/doc/HOWTO/en-txt/Keyboard-and-Console-HOWTO.gz
--
--Jhair
Public Key fingerprint:
81FF 3ADF BF6B CECB C593 4018 27AE D7D2 BAA6 00D0
Reply to: