summaryrefslogtreecommitdiff
path: root/packages/openslug-init/openslug-init-0.10/boot/nfs
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/openslug-init/openslug-init-0.10/boot/nfs
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/openslug-init/openslug-init-0.10/boot/nfs')
-rwxr-xr-x[-rw-r--r--]packages/openslug-init/openslug-init-0.10/boot/nfs17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/openslug-init/openslug-init-0.10/boot/nfs b/packages/openslug-init/openslug-init-0.10/boot/nfs
index e69de29bb2..534d8b7cb0 100644..100755
--- a/packages/openslug-init/openslug-init-0.10/boot/nfs
+++ b/packages/openslug-init/openslug-init-0.10/boot/nfs
@@ -0,0 +1,17 @@
+#!/bin/sh
+# boot from the nfs partition "$1" (which
+# must be given) using options from the rest of
+# the command line.
+#
+/sbin/leds -A '!gr'
+#
+# Use the standard init path (see /etc/init.d/rcS)
+export PATH=/sbin:/bin:/usr/sbin:/usr/bin
+if /boot/network
+then
+ # network is up and running, the NFS mount will
+ # now succeed (possibly), use /boot/disk
+ exec /boot/disk "$@"
+fi
+# fallback - use the flash boot
+exec /boot/flash