aboutsummaryrefslogtreecommitdiff
path: root/rc.single
diff options
context:
space:
mode:
Diffstat (limited to 'rc.single')
-rwxr-xr-xrc.single2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.single b/rc.single
index baffd91..0634e6f 100755
--- a/rc.single
+++ b/rc.single
@@ -11,7 +11,7 @@ if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then
let i=${#DAEMONS[@]}
while [[ i -gt 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