diff options
Diffstat (limited to 'packages/system/openrc/etc')
-rw-r--r-- | packages/system/openrc/etc/inittab.logging | 5 | ||||
-rw-r--r-- | packages/system/openrc/etc/inittab.reboot | 6 | ||||
-rw-r--r-- | packages/system/openrc/etc/inittab.runlevel | 8 | ||||
-rw-r--r-- | packages/system/openrc/etc/inittab.tty | 3 |
4 files changed, 22 insertions, 0 deletions
diff --git a/packages/system/openrc/etc/inittab.logging b/packages/system/openrc/etc/inittab.logging new file mode 100644 index 0000000..f74eb07 --- /dev/null +++ b/packages/system/openrc/etc/inittab.logging @@ -0,0 +1,5 @@ +# Logging +null::sysinit:/bin/touch /var/log/messages +null::respawn:/sbin/syslogd -n -m 0 +null::respawn:/sbin/klogd -n + diff --git a/packages/system/openrc/etc/inittab.reboot b/packages/system/openrc/etc/inittab.reboot new file mode 100644 index 0000000..a182944 --- /dev/null +++ b/packages/system/openrc/etc/inittab.reboot @@ -0,0 +1,6 @@ +# Reboot +::ctrlaltdel:/sbin/reboot +null::shutdown:/sbin/openrc shutdown +null::shutdown:/bin/umount -a -r +null::shutdown:/sbin/swapoff -a + diff --git a/packages/system/openrc/etc/inittab.runlevel b/packages/system/openrc/etc/inittab.runlevel new file mode 100644 index 0000000..7c8887e --- /dev/null +++ b/packages/system/openrc/etc/inittab.runlevel @@ -0,0 +1,8 @@ +# Initial system critical filesystems mounting (/proc, /dev, /sys, etc.) +::sysinit:/sbin/openrc sysinit + +# Goto other runlevels now +::wait:/sbin/openrc boot +::wait:/sbin/openrc default +::wait:/sbin/openrc + diff --git a/packages/system/openrc/etc/inittab.tty b/packages/system/openrc/etc/inittab.tty new file mode 100644 index 0000000..b9b2072 --- /dev/null +++ b/packages/system/openrc/etc/inittab.tty @@ -0,0 +1,3 @@ +# Put a getty on the serial port +{ROOTFS_TTY}::respawn:/sbin/getty -L {ROOTFS_TTY} {ROOTFS_TTY_BAUDRATE} vt100 + |