diff options
| author | jvdias <jvdias@fedoraproject.org> | 2005-12-02 00:08:28 +0000 |
|---|---|---|
| committer | jvdias <jvdias@fedoraproject.org> | 2005-12-02 00:08:28 +0000 |
| commit | dc8dced0c23b10984a2579b16c73fd2a0954e129 (patch) | |
| tree | 34330fd4066918e0124689bb57c8f81c1b1b9a69 /named.init | |
| parent | f84fe396738702d5eb2ef5d8928d0b4178ad7cef (diff) | |
| download | bind-dc8dced0c23b10984a2579b16c73fd2a0954e129.tar.gz bind-dc8dced0c23b10984a2579b16c73fd2a0954e129.tar.xz bind-dc8dced0c23b10984a2579b16c73fd2a0954e129.zip | |
use egrep -q for dbus socket mount check
Diffstat (limited to 'named.init')
| -rwxr-xr-x | named.init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -74,7 +74,7 @@ start() { fi; done if [ $dbus -eq 1 ]; then - if ! egrep '^/[^[:space:]]+[[:space:]]+'${ROOTDIR}'/var/run/dbus' /proc/mounts; then + if ! egrep -q '^/[^[:space:]]+[[:space:]]+'${ROOTDIR}'/var/run/dbus' /proc/mounts; then mkdir -p ${ROOTDIR}/var/run/dbus if [ ! -d /var/run/dbus ] ; then mkdir -p /var/run/dbus ; |
