summaryrefslogtreecommitdiff
path: root/i/pc104/initrd/conf/rcS
diff options
context:
space:
mode:
authordufourj2006-02-04 21:34:07 +0000
committerdufourj2006-02-04 21:34:07 +0000
commit831e13eea8edbe4fbb6693628607b14bfd4f1aa8 (patch)
tree242bfe110cde987c895ecd37024244bc5ccbfc0a /i/pc104/initrd/conf/rcS
parentd730013d29570d1669ea242927f197e05147f6e4 (diff)
PC104 :
- suppression du pivot_root (chroot convient mieux aux besoins) ; - script de mise à jour du programme sur l'initrd PC104 en autonome quasi-fonctionnel (quelques amélioriation à faire) ; - impossibilité de démarrer un binaire créé sur lampion sans provoquer un kill du kernel (certains supports noyau manquant ? Lib ou autres programmes manquant ?). - l'initrd compressé c'est rapide à booter mais long à mettre à jour...
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