From b7171535495d4e05953fc3f54cb50a985a2e9b49 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 3 Jan 2008 16:08:45 +0000 Subject: Move inittab to the support directorry as the sysvinit package normally owns it, not OpenRC. --- etc.Linux/Makefile | 1 - etc.Linux/inittab | 34 ---------------------------------- support/sysvinit/README | 2 ++ support/sysvinit/inittab | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 35 deletions(-) delete mode 100644 etc.Linux/inittab create mode 100644 support/sysvinit/README create mode 100644 support/sysvinit/inittab diff --git a/etc.Linux/Makefile b/etc.Linux/Makefile index d120a085..ad04fec9 100644 --- a/etc.Linux/Makefile +++ b/etc.Linux/Makefile @@ -1,5 +1,4 @@ DIR = /etc -CONF = inittab CONF_APPEND = rc.conf TOPDIR = .. diff --git a/etc.Linux/inittab b/etc.Linux/inittab deleted file mode 100644 index 981aa9d7..00000000 --- a/etc.Linux/inittab +++ /dev/null @@ -1,34 +0,0 @@ -# /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 diff --git a/support/sysvinit/README b/support/sysvinit/README new file mode 100644 index 00000000..a51c0d2b --- /dev/null +++ b/support/sysvinit/README @@ -0,0 +1,2 @@ +Here's a sample inittab for use with sysvinit for Linux based systems. +We don't install it by default as sysvinit packages normally own this file. diff --git a/support/sysvinit/inittab b/support/sysvinit/inittab new file mode 100644 index 00000000..981aa9d7 --- /dev/null +++ b/support/sysvinit/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 -- cgit v1.2.3