summarylogtreecommitdiffstats
path: root/00-pdnsd
diff options
context:
space:
mode:
authorFrederik "Freso" S. Olesen2012-03-10 10:01:37 +0100
committerFrederik “Freso” S. Olesen2012-03-10 10:01:37 +0100
commitf06d7ca75c0d130c1fc6351bdc5cb51958216aa9 (patch)
tree680504ab08d3cf3dc89b9c0f88e6f2c6b52c2058 /00-pdnsd
parentebccc8683b58ae24713495b073dc3fab6e353c37 (diff)
downloadaur-f06d7ca75c0d130c1fc6351bdc5cb51958216aa9.tar.gz
networkmanager-dispatcher-pdnsd: Actually start/restart pdnsd. Oops. :/
Thanks to adee for reporting!
Diffstat (limited to '00-pdnsd')
-rw-r--r--00-pdnsd4
1 files changed, 2 insertions, 2 deletions
diff --git a/00-pdnsd b/00-pdnsd
index 3aa6a506ea89..55ce59748ee1 100644
--- a/00-pdnsd
+++ b/00-pdnsd
@@ -6,9 +6,9 @@ STATUS=$2
pdnsd_going_up() {
# Check whether pDNSd is already running before starting it.
if [ `rc.d list|grep pdnsd|cut -f1 -d']'|cut -d'[' -f2` == 'STOPPED' ]; then
- rc.d start
+ rc.d start pdnsd
else
- rc.d restart
+ rc.d restart pdnsd
fi
}