summaryrefslogtreecommitdiff
path: root/recipes/miniinit/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/miniinit/files')
-rw-r--r--recipes/miniinit/files/inittab2
-rwxr-xr-xrecipes/miniinit/files/rcS4
2 files changed, 6 insertions, 0 deletions
diff --git a/recipes/miniinit/files/inittab b/recipes/miniinit/files/inittab
new file mode 100644
index 0000000000..352f6a4508
--- /dev/null
+++ b/recipes/miniinit/files/inittab
@@ -0,0 +1,2 @@
+::sysinit:/etc/init.d/rcS
+::shutdown:/sbin/halt
diff --git a/recipes/miniinit/files/rcS b/recipes/miniinit/files/rcS
new file mode 100755
index 0000000000..64c7ef64cf
--- /dev/null
+++ b/recipes/miniinit/files/rcS
@@ -0,0 +1,4 @@
+#!/bin/sh
+for i in /etc/rcS.d/S* /etc/rc2.d/S*; do
+ $i start 2>&1
+done | logger -s -p 6 -t ''