aboutsummaryrefslogtreecommitdiffstats
path: root/packages/altboot/files/nslu2le/altboot-handlers/10-Onboard-Flash
blob: 394279c2af693a6d95c2bd5bda5355b0fb0d2633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh
#
# Copyright Matthias Hentges <devel@hentges.net> (c) 2007
# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license)
#
# Filename: 10-Onboard-Flash
# Date: 20070218 (YMD)

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