summaryrefslogtreecommitdiff
path: root/i/pc104/initrd/conf/rcS
diff options
context:
space:
mode:
authordufourj2006-01-30 23:04:52 +0000
committerdufourj2006-01-30 23:04:52 +0000
commitdbffb2d3ecfa4483099e8e888f1541706d5bd54d (patch)
tree510cbf8d0f746891c8c2e2d0c4ece8900b72d5ce /i/pc104/initrd/conf/rcS
parentbabbeb8dfe6083ae08e61d0624c9eb7b62b8eeb8 (diff)
PC104:
- passage en init plutôt que linuxrc - enfin un mécanisme qui marchotte pour chrooter sur le système réel et rebooter proprement.
Diffstat (limited to 'i/pc104/initrd/conf/rcS')
-rwxr-xr-xi/pc104/initrd/conf/rcS19
1 files changed, 19 insertions, 0 deletions
diff --git a/i/pc104/initrd/conf/rcS b/i/pc104/initrd/conf/rcS
new file mode 100755
index 0000000..2b1b486
--- /dev/null
+++ b/i/pc104/initrd/conf/rcS
@@ -0,0 +1,19 @@
+#!/bin/sh
+# /etc/init.d/rcS
+# Executed in autonomous mode for the matchs.
+
+# Mount proc fs
+mount /proc
+
+# Try to to tell people we have booted !
+#for i in $(seq 0 5)
+#do
+ echo -ne "\007"
+#done
+
+# Launch update script in background
+./etc/robot/update_initrd.sh &
+
+# TODO Export variables (LD...)
+# Launch the program
+# . /robot/start.sh