Roy's Projects
/
openresolv
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5eb6788
)
Support dbus on dnsmasq on Debian.
author
Roy Marples
<roy@marples.name>
Thu, 10 Jun 2010 15:43:24 +0000
(15:43 +0000)
committer
Roy Marples
<roy@marples.name>
Thu, 10 Jun 2010 15:43:24 +0000
(15:43 +0000)
dnsmasq.in
patch
|
blob
|
history
diff --git
a/dnsmasq.in
b/dnsmasq.in
index e9d1f5183fd166970a2d00d27b115ad41beeee8d..203debbc9aeb6d46675adc441be4d801eb35caca 100644
(file)
--- a/
dnsmasq.in
+++ b/
dnsmasq.in
@@
-32,6
+32,7
@@
[ -z "$RESOLVCONF" ] && eval "$(@PREFIX@/sbin/resolvconf -v)"
: ${dnsmasq_pid:=/var/run/dnsmasq.pid}
+[ -s "$dnsmasq_pid" ] || dnsmasq_pid=/var/run/dnsmasq/dnsmasq.pid
: ${dnsmasq_restart:=@RESTARTCMD dnsmasq@}
newconf="# Generated by resolvconf\n"
newresolv="$newconf"