summaryrefslogtreecommitdiff
path: root/i/pc104/initrd/conf/rcS
diff options
context:
space:
mode:
Diffstat (limited to 'i/pc104/initrd/conf/rcS')
-rwxr-xr-xi/pc104/initrd/conf/rcS13
1 files changed, 10 insertions, 3 deletions
diff --git a/i/pc104/initrd/conf/rcS b/i/pc104/initrd/conf/rcS
index 2b1b486..0c1012c 100755
--- a/i/pc104/initrd/conf/rcS
+++ b/i/pc104/initrd/conf/rcS
@@ -14,6 +14,13 @@ mount /proc
# Launch update script in background
./etc/robot/update_initrd.sh &
-# TODO Export variables (LD...)
-# Launch the program
-# . /robot/start.sh
+# Launch the program ! Go Go Go !
+# For the library
+export LD_LIBRARY_PATH="./lib/;/robot/lib/"
+# Go to the directory where everything is
+cd /robot/
+# According to some scripts I have seen, it is quicker because it removes a
+# fork...
+# FIXME This does not work with ash busybox shell
+# . start.sh
+./start.sh