diff options
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.shutdown b/rc.shutdown index 98316d2..b18699d 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -18,7 +18,7 @@ if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then let i=${#DAEMONS[@]} while [[ i -ge 0 ]]; do if [[ `echo ${DAEMONS[$i]} | grep '^[^\!]' | wc -l` -eq 1 ]]; then - /etc/rc.d/${DAEMONS[$i]} stop + /etc/rc.d/${DAEMONS[$i]#@} stop fi let i=i-1 done |