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