File: leds_startup

package info (click to toggle)
nslu2-utils 0.10%2Br71-9
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 304 kB
  • ctags: 5
  • sloc: sh: 2,408; perl: 780; makefile: 56
file content (11 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
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