aboutsummaryrefslogtreecommitdiff
path: root/examples/inittab
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-09 04:40:25 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-09 04:40:25 +0000
commitd9495ce9e5d2c3c618e81ba27e75e800be76edd6 (patch)
treefc6b1d4f3de4cd732d0e4101a367f509f78218a5 /examples/inittab
parentc8a728eb639dc69e4e55912d4fcc6343806a40fd (diff)
downloadbusybox-w32-d9495ce9e5d2c3c618e81ba27e75e800be76edd6.tar.gz
busybox-w32-d9495ce9e5d2c3c618e81ba27e75e800be76edd6.tar.bz2
busybox-w32-d9495ce9e5d2c3c618e81ba27e75e800be76edd6.zip
Update the sample inittab to add the "ctrlaltdel" action.
Note a bug in busybox init that I need to fix. -Erik git-svn-id: svn://busybox.net/trunk/busybox@359 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'examples/inittab')
-rw-r--r--examples/inittab8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/inittab b/examples/inittab
index dc8e92114..bb547b740 100644
--- a/examples/inittab
+++ b/examples/inittab
@@ -23,7 +23,8 @@
23# 23#
24# <runlevels>: The runlevels field is completely ignored. 24# <runlevels>: The runlevels field is completely ignored.
25# 25#
26# <action>: Valid actions include: sysinit, respawn, askfirst, wait, and once. 26# <action>: Valid actions include: sysinit, respawn, askfirst, wait, once,
27# and ctrlaltdel.
27# 28#
28# Note: askfirst acts just like respawn, but before running the specified 29# Note: askfirst acts just like respawn, but before running the specified
29# process it displays the line "Please press Enter to activate this 30# process it displays the line "Please press Enter to activate this
@@ -70,6 +71,7 @@ tty5::respawn:/sbin/getty 38400 tty5
70# Example how to put a getty on a modem line. 71# Example how to put a getty on a modem line.
71#ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2 72#ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2
72 73
73# Not currently supported, but may be sometime in the future... 74# Stuff to do before rebooting
74#::ctrlaltdel:/sbin/reboot 75::ctrlaltdel:/bin/umount -a -r > /dev/null 2>&1
76::ctrlaltdel:/sbin/swapoff -a > /dev/null 2>&1
75 77