]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/openslug-init/openslug-init-0.10/initscripts/leds_startup
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 / initscripts / leds_startup
1 #!/bin/sh
2 # Bug fix: during the initial boot sysvinit sets PREVLEVEL to
3 # nothing in rcS and to 'N' in the transition from rcS to the
4 # user state.  This script runs on that transition and, if
5 # the PREVLEVEL is 'N', sets 'previous' (as in /etc/init.d/rc)
6 # to 'S'
7 if test "$PREVLEVEL" = N
8 then
9         previous=S exec /etc/init.d/zleds stop
10 fi
11 exit 0