diff options
author | Michael Biebl <biebl@debian.org> | 2007-04-22 22:09:28 +0000 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2007-04-22 22:09:28 +0000 |
commit | 69ab09bccbd6f4cb9863c47f2c930ad0b8484679 (patch) | |
tree | 9136c60731c55295283b1ebe17c136a0c98a21d6 | |
parent | 87ebf1c40db3f99646e2649440ec5a354995b7b7 (diff) | |
download | dbus-69ab09bccbd6f4cb9863c47f2c930ad0b8484679.tar.gz |
Improve the regexp a bit.
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/dbus@1431 ceb527fc-18e6-0310-9fe2-813c157c29e7
-rw-r--r-- | debian/dbus.init | 2 |
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="" |