diff options
author | Jon Portnoy <avenj@gentoo.org> | 2006-01-09 12:21:39 +0000 |
---|---|---|
committer | Jon Portnoy <avenj@gentoo.org> | 2006-01-09 12:21:39 +0000 |
commit | d709f4f1147acb0cb093e95be405920af28bc718 (patch) | |
tree | 81c499e49a29e501ad8ca79e7365831474113453 /net-dns/dnsmasq | |
parent | Fix depends, add sdl-mixer, remove jpeg, thanks to Jonas Bergler <jbergler@gm... (diff) | |
download | gentoo-2-d709f4f1147acb0cb093e95be405920af28bc718.tar.gz gentoo-2-d709f4f1147acb0cb093e95be405920af28bc718.tar.bz2 gentoo-2-d709f4f1147acb0cb093e95be405920af28bc718.zip |
fix init script reload option to work with baselayout-1.12
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'net-dns/dnsmasq')
-rw-r--r-- | net-dns/dnsmasq/ChangeLog | 5 | ||||
-rw-r--r-- | net-dns/dnsmasq/files/dnsmasq-init | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/net-dns/dnsmasq/ChangeLog b/net-dns/dnsmasq/ChangeLog index 4b5e1b985594..dd903d1d1fc1 100644 --- a/net-dns/dnsmasq/ChangeLog +++ b/net-dns/dnsmasq/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-dns/dnsmasq # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.81 2006/01/08 01:39:02 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.82 2006/01/09 12:21:39 avenj Exp $ + + 09 Jan 2005; Jon Portnoy <avenj@gentoo.org> files/dnsmasq-init : + Fixed reload() to work with newer baselayout releases 07 Jan 2005; Jon Portnoy <avenj@gentoo.org> files/dnsmasq-init : Added reload() option. See bug #72400. diff --git a/net-dns/dnsmasq/files/dnsmasq-init b/net-dns/dnsmasq/files/dnsmasq-init index 38a684425768..c468537f8782 100644 --- a/net-dns/dnsmasq/files/dnsmasq-init +++ b/net-dns/dnsmasq/files/dnsmasq-init @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/files/dnsmasq-init,v 1.7 2006/01/08 01:39:02 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/files/dnsmasq-init,v 1.8 2006/01/09 12:21:39 avenj Exp $ opts="${opts} reload" @@ -24,6 +24,6 @@ stop() { reload() { ebegin "Reloading dnsmasq" - start-stop-daemon --stop -s HUP -p /var/run/dnsmasq.pid + kill -HUP $(< /var/run/dnsmasq.pid) eend $? } |