blob: 37a1055763d8fc98dcf5d50efcd1993ee6ad8a4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# boot from the current (flash) root partition
# nothing need be done apart from setting the
# system LED status correctly
leds beep
. /etc/default/functions
leds boot system
test -x /sbin/init && exec /sbin/init
# fallback if /sbin/init has been deleted (bad!)
leds boot system panic
exec <>/dev/console >&0 2>&0
test -x /sbin/sulogin && exec /sbin/sulogin
test -x /bin/sh && exec /bin/sh
exit 1
|