blob: 945d75bd02566e8a89b97fe7c517892d18c36da4 (
plain)
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
|