diff options
author | Lukas Gorris <lukas.gorris@gmail.com> | 2009-03-30 21:20:14 +0200 |
---|---|---|
committer | Lukas Gorris <lukas.gorris@gmail.com> | 2009-03-30 21:20:14 +0200 |
commit | a93dfebb9e7a34ffba9b1ae5e8e496dfab4c3c43 (patch) | |
tree | 6c38a4617c92398269e6603a0509fc3006811368 /recipes/slugos-init/files/initscripts/leds_startup | |
parent | 4255898da29e7e0c521d064afedbc4075b3e8155 (diff) | |
parent | d7fdcef3d8c8b80926d579c2db179b594429cebe (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/slugos-init/files/initscripts/leds_startup')
-rw-r--r-- | recipes/slugos-init/files/initscripts/leds_startup | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/slugos-init/files/initscripts/leds_startup b/recipes/slugos-init/files/initscripts/leds_startup new file mode 100644 index 0000000000..945d75bd02 --- /dev/null +++ b/recipes/slugos-init/files/initscripts/leds_startup @@ -0,0 +1,11 @@ +#!/bin/sh +# Bug fix: during the initial boot sysvinit sets PREVLEVEL to +# nothing in rcS and to 'N' in the transition from rcS to the +# user state. This script runs on that transition and, if +# the PREVLEVEL is 'N', sets 'previous' (as in /etc/init.d/rc) +# to 'S' +if test "$PREVLEVEL" = N +then + previous=S exec /etc/init.d/zleds stop +fi +exit 0 |