]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/openslug-init/openslug-init-0.10/boot/nfs
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / openslug-init / openslug-init-0.10 / boot / nfs
1 #!/bin/sh
2 # boot from the nfs partition "$1" (which
3 # must be given) using options from the rest of
4 # the command line.
5 #
6 /sbin/leds -A '!gr'
7 #
8 # Use the standard init path (see /etc/init.d/rcS)
9 export PATH=/sbin:/bin:/usr/sbin:/usr/bin
10 if /boot/network
11 then
12         # network is up and running, the NFS mount will
13         # now succeed (possibly), use /boot/disk
14         exec /boot/disk "$@"
15 fi
16 # fallback - use the flash boot
17 exec /boot/flash