All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] disable reboot by ctrl-alt-del
@ 2016-01-03 22:00 lothar felten
  2016-01-03 22:07 ` Yann E. MORIN
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: lothar felten @ 2016-01-03 22:00 UTC (permalink / raw)
  To: buildroot

From: lf <micro1183@gmail.com>

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>
---
 package/busybox/inittab  | 2 +-
 package/sysvinit/inittab | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/busybox/inittab b/package/busybox/inittab
index 24d9199..3f49f6b 100644
--- a/package/busybox/inittab
+++ b/package/busybox/inittab
@@ -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
diff --git a/package/sysvinit/inittab b/package/sysvinit/inittab
index fc0c9b5..27eb4a6 100644
--- a/package/sysvinit/inittab
+++ b/package/sysvinit/inittab
@@ -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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-04 15:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-03 22:00 [Buildroot] [PATCH 1/1] disable reboot by ctrl-alt-del lothar felten
2016-01-03 22:07 ` Yann E. MORIN
2016-01-03 22:17 ` Peter Korsgaard
2016-01-04 15:03 ` Thomas Petazzoni
2016-01-04 15:18   ` Peter Korsgaard
2016-01-04 15:24     ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.