merge of 8eaefa4f638dc67e29fb59fca3c6a98e4049eb09
[vuplus_openembedded] / packages / openprotium-init / files / boot / flash
1 #!/bin/sh
2 # boot from the current (flash) root partition
3 # nothing need be done apart from setting the
4 # system LED status correctly
5 . /etc/default/functions
6 scc -l redflash -f auto
7 test -x /sbin/init && exec /sbin/init
8 # fallback if /sbin/init has been deleted (bad!)
9 scc -l red 
10 exec <>/dev/console >&0 2>&0
11 test -x /sbin/sulogin && exec /sbin/sulogin
12 test -x /bin/sh && exec /bin/sh
13 exit 1