summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2010-04-30 10:49:35 -0500
committerJesse Gilles <jgilles@multitech.com>2010-04-30 10:49:35 -0500
commit07d24c7301bdb64231cffa40d649fb722846d4e8 (patch)
treee2a994f764c300b2b4a6bb437421b8b2285fbdf6
parent3cf0837331b5ffccf2a0797d8674cf0c59160840 (diff)
sysvinit: add CoreCDP config
-rw-r--r--recipes/sysvinit/sysvinit/corecdp/inittab33
-rw-r--r--recipes/sysvinit/sysvinit/corecdp/rcS-default25
2 files changed, 58 insertions, 0 deletions
diff --git a/recipes/sysvinit/sysvinit/corecdp/inittab b/recipes/sysvinit/sysvinit/corecdp/inittab
new file mode 100644
index 0000000000..7b0dae82e4
--- /dev/null
+++ b/recipes/sysvinit/sysvinit/corecdp/inittab
@@ -0,0 +1,33 @@
+# /etc/inittab: init(8) configuration.
+# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $
+
+# The default runlevel.
+id:5:initdefault:
+
+# Boot-time system configuration/initialization script.
+# This is run first except when booting in emergency (-b) mode.
+si::sysinit:/etc/init.d/rcS
+
+# What to do in single-user mode.
+~~:S:wait:/sbin/sulogin
+
+# /etc/init.d executes the S and K scripts upon change
+# of runlevel.
+#
+# Runlevel 0 is halt.
+# Runlevel 1 is single-user.
+# Runlevels 2-5 are multi-user.
+# Runlevel 6 is reboot.
+
+l0:0:wait:/etc/init.d/rc 0
+l1:1:wait:/etc/init.d/rc 1
+l2:2:wait:/etc/init.d/rc 2
+l3:3:wait:/etc/init.d/rc 3
+l4:4:wait:/etc/init.d/rc 4
+l5:5:wait:/etc/init.d/rc 5
+l6:6:wait:/etc/init.d/rc 6
+# Normally not reached, but fallthrough in case of emergency.
+z6:6:respawn:/sbin/sulogin
+
+# USB serial terminal
+GS0:2345:respawn:/sbin/getty 115200 ttyGS0
diff --git a/recipes/sysvinit/sysvinit/corecdp/rcS-default b/recipes/sysvinit/sysvinit/corecdp/rcS-default
new file mode 100644
index 0000000000..5bb57ef74f
--- /dev/null
+++ b/recipes/sysvinit/sysvinit/corecdp/rcS-default
@@ -0,0 +1,25 @@
+#
+# Defaults for the boot scripts in /etc/rcS.d
+#
+
+# Time files in /tmp are kept in days.
+TMPTIME=0
+# Set to yes if you want sulogin to be spawned on bootup
+SULOGIN=no
+# Set to no if you want to be able to login over telnet/rlogin
+# before system startup is complete (as soon as inetd is started)
+DELAYLOGIN=no
+# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
+UTC=yes
+# Set VERBOSE to "no" if you would like a more quiet bootup.
+VERBOSE=no
+# Set EDITMOTD to "no" if you don't want /etc/motd to be editted automatically
+EDITMOTD=no
+# Whether to fsck root on boot
+ENABLE_ROOTFS_FSCK=no
+# Set FSCKFIX to "yes" if you want to add "-y" to the fsck at startup.
+FSCKFIX=yes
+# Set TICKADJ to the correct tick value for this specific machine
+#TICKADJ=10000
+# Enable caching in populate-volatile.sh
+VOLATILE_ENABLE_CACHE=yes