]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
inittab: disable reboot by ctrl-alt-del
authorlothar felten <felten@vaxnet.de>
Sun, 3 Jan 2016 22:00:33 +0000 (23:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 3 Jan 2016 22:16:08 +0000 (23:16 +0100)
Most embedded systems do not have a keyboard.
If a keyboard is attached afterwards (e.g. to an accessible USB host port)
this allows the user to reboot the system by pressing Ctrl-Alt-Del, which
might not be desired.

Signed-off-by: lothar felten <felten@vaxnet.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/busybox/inittab
package/sysvinit/inittab

index 24d9199d6ea3af6adc56dcdcaf5489ff92d0002b..3f49f6bd7a74abf636cceeb430bd35ed7790f642 100644 (file)
@@ -27,7 +27,7 @@
 #ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
 
 # Stuff to do for the 3-finger salute
-::ctrlaltdel:/sbin/reboot
+#::ctrlaltdel:/sbin/reboot
 
 # Stuff to do before rebooting
 ::shutdown:/etc/init.d/rcK
index fc0c9b5803fd9414511b1256907f2151c874b2dc..27eb4a6931229432c5660331c2aa322970b27114 100644 (file)
@@ -15,7 +15,7 @@ si6::sysinit:/etc/init.d/rcS
 # S0:1:respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
 
 # Stuff to do for the 3-finger salute
-ca::ctrlaltdel:/sbin/reboot
+#ca::ctrlaltdel:/sbin/reboot
 
 # Stuff to do before rebooting
 shd0:06:wait:/etc/init.d/rcK