summaryrefslogtreecommitdiff
path: root/debian/dbus.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/dbus.init')
-rw-r--r--debian/dbus.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/dbus.init b/debian/dbus.init
index ee1febc6..b9d5f580 100644
--- a/debian/dbus.init
+++ b/debian/dbus.init
@@ -72,7 +72,7 @@ dependent_services()
elif [ -f /etc/runlevel.conf ] ; then # file-rc
list=$(grep -l "^# Required-Start:.*dbus" /etc/init.d/*)
services=$( for i in $list ; do
- grep -E "^[[:digit:]]{2}[[:space:]]+[0-9,-S]+[[:space:]]+.*$r.*[[:space:]]+$i$" /etc/runlevel.conf
+ grep -E "^[[:digit:]]{2}[[:space:]]+([0-9,S]+|[-])[[:space:]]+.*$r.*[[:space:]]+$i$" /etc/runlevel.conf
done | sort $param | awk '{print $4}' )
else
services=""