summaryrefslogtreecommitdiffstats
path: root/package/sysvinit/inittab
diff options
context:
space:
mode:
authorMartin Banky <martin.banky@gmail.com>2010-12-12 22:53:51 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-14 00:22:25 +0100
commit7e2bf63080cc0011c84ee46ee2aba161569154c5 (patch)
treebbb7ac7820bfa6875480711a851c6f2495c13782 /package/sysvinit/inittab
parentdfd068cd279063b3be31870bda998b6ddda50e25 (diff)
downloadbuildroot-novena-7e2bf63080cc0011c84ee46ee2aba161569154c5.tar.gz
buildroot-novena-7e2bf63080cc0011c84ee46ee2aba161569154c5.zip
sysvint: convert to gentargets and bump to 2.88
Also, changed the site to Debian, to get the latest patches [ Thomas: add inittab compatible with sysvinit. Minor fixes. ] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/sysvinit/inittab')
-rw-r--r--package/sysvinit/inittab31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/sysvinit/inittab b/package/sysvinit/inittab
new file mode 100644
index 000000000..a4bcf82d3
--- /dev/null
+++ b/package/sysvinit/inittab
@@ -0,0 +1,31 @@
+# /etc/inittab
+#
+# This inittab is a basic inittab sample for sysvinit, which mimics
+# Buildroot's default inittab for Busybox.
+id:1:initdefault:
+
+proc::sysinit:/bin/mount -t proc proc /proc
+rwmo::sysinit:/bin/mount -o remount,rw /
+dpts::sysinit:/bin/mkdir -p /dev/pts
+moun::sysinit:/bin/mount -a
+host::sysinit:/bin/hostname -F /etc/hostname
+init::sysinit:/etc/init.d/rcS
+
+1:1:respawn:/sbin/getty 38400 tty1
+2:1:respawn:/sbin/getty 38400 tty2
+
+# S0:1:respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
+
+# Logging junk
+mess::sysinit:/bin/touch /var/log/messages
+sysl:1:respawn:/sbin/syslogd -n -m 0
+klog:1:respawn:/sbin/klogd -n
+
+# Stuff to do for the 3-finger salute
+rebo::ctrlaltdel:/sbin/reboot
+
+# Stuff to do before rebooting
+sklo:6:wait:/usr/bin/killall klogd
+ssys:6:wait:/usr/bin/killall syslogd
+umou:6:wait:/bin/umount -a -r
+swap:6:wait:/sbin/swapoff -a