diff options
author | Roy Marples <roy@marples.name> | 2007-11-19 18:31:40 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-19 18:31:40 +0000 |
commit | 619c9dba3808c917dce01ea4b50c325da25ae453 (patch) | |
tree | 1bc0fbfae24901af25e2c193c9f3a1f60e21029a | |
parent | 88ccccc22a3f8938bcd43ffbe86d3b9c3c814ad3 (diff) |
Add a sample inittab
-rw-r--r-- | etc.BSD/Makefile | 2 | ||||
-rw-r--r-- | etc.Linux/Makefile | 5 | ||||
-rw-r--r-- | etc.Linux/inittab | 34 |
3 files changed, 40 insertions, 1 deletions
diff --git a/etc.BSD/Makefile b/etc.BSD/Makefile index 6ddb3448..9399c9b8 100644 --- a/etc.BSD/Makefile +++ b/etc.BSD/Makefile @@ -1,4 +1,4 @@ -DIR = /etc +DIR = /etc CONF = rc rc.shutdown TOPDIR = .. diff --git a/etc.Linux/Makefile b/etc.Linux/Makefile new file mode 100644 index 00000000..1a4aa2a3 --- /dev/null +++ b/etc.Linux/Makefile @@ -0,0 +1,5 @@ +DIR = /etc +CONF = inittab + +TOPDIR = .. +include $(TOPDIR)/default.mk diff --git a/etc.Linux/inittab b/etc.Linux/inittab new file mode 100644 index 00000000..981aa9d7 --- /dev/null +++ b/etc.Linux/inittab @@ -0,0 +1,34 @@ +# /etc/inittab: This file describes how the INIT process should set up +# the system in a certain run-level. + +# Default runlevel. +id:3:initdefault: + +# System initialization, mount local filesystems, etc. +si::sysinit:/sbin/rc sysinit + +# Further system initialization, brings up the boot runlevel. +rc::bootwait:/sbin/rc boot + +l0:0:wait:/sbin/rc shutdown +l1:S1:wait:/sbin/rc single +l2:2:wait:/sbin/rc nonetwork +l3:3:wait:/sbin/rc default +l4:4:wait:/sbin/rc default +l5:5:wait:/sbin/rc default +l6:6:wait:/sbin/rc reboot + +# TERMINALS +c1:12345:respawn:/sbin/agetty 38400 tty1 linux +c2:2345:respawn:/sbin/agetty 38400 tty2 linux +c3:2345:respawn:/sbin/agetty 38400 tty3 linux +c4:2345:respawn:/sbin/agetty 38400 tty4 linux +c5:2345:respawn:/sbin/agetty 38400 tty5 linux +c6:2345:respawn:/sbin/agetty 38400 tty6 linux + +# SERIAL CONSOLES +#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100 +#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100 + +# What to do at the "Three Finger Salute". +ca:12345:ctrlaltdel:/sbin/shutdown -r now |