diff options
author | Jon Portnoy <avenj@gentoo.org> | 2006-01-08 01:39:02 +0000 |
---|---|---|
committer | Jon Portnoy <avenj@gentoo.org> | 2006-01-08 01:39:02 +0000 |
commit | 67f8a2d8a8638c9ef5fc22e9a474f52348b40e0e (patch) | |
tree | 77fe3496c6687dedb0ef748e013000899c1a2991 /net-dns/dnsmasq | |
parent | modular depends (diff) | |
download | gentoo-2-67f8a2d8a8638c9ef5fc22e9a474f52348b40e0e.tar.gz gentoo-2-67f8a2d8a8638c9ef5fc22e9a474f52348b40e0e.tar.bz2 gentoo-2-67f8a2d8a8638c9ef5fc22e9a474f52348b40e0e.zip |
Added reload option to init script, bug 72400
(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/Manifest | 2 | ||||
-rw-r--r-- | net-dns/dnsmasq/files/dnsmasq-init | 10 |
3 files changed, 14 insertions, 3 deletions
diff --git a/net-dns/dnsmasq/ChangeLog b/net-dns/dnsmasq/ChangeLog index 437e949a0747..4b5e1b985594 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.80 2005/11/28 10:14:21 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.81 2006/01/08 01:39:02 avenj Exp $ + + 07 Jan 2005; Jon Portnoy <avenj@gentoo.org> files/dnsmasq-init : + Added reload() option. See bug #72400. *dnsmasq-2.24 (28 Nov 2005) diff --git a/net-dns/dnsmasq/Manifest b/net-dns/dnsmasq/Manifest index 6c68ccae0f79..eb5998bfdfc0 100644 --- a/net-dns/dnsmasq/Manifest +++ b/net-dns/dnsmasq/Manifest @@ -19,7 +19,7 @@ MD5 4b5657f628105447730b0fc0f5ac00be files/digest-dnsmasq-2.24 64 MD5 9740ffe29b6d012b66cd2e532b8915ce files/digest-dnsmasq-2.5-r1 62 MD5 39075dfeab4bbded5f0e8680df29e414 files/digest-dnsmasq-2.8-r1 63 MD5 d48a297550b42f81be10bd5fcf4e15a7 files/digest-dnsmasq-2.9 63 -MD5 51224c4bafcccf490d6de12440f681e5 files/dnsmasq-init 504 +MD5 9146583bea2181855769bb4eaabeb2e3 files/dnsmasq-init 635 MD5 fc1326c5ef78a5ba4a73f6261806579f files/dnsmasq.confd 339 MD5 d1c7a35f0fe7e1e17d98990eec175b06 files/dnsmasq221-netlink.diff 337 MD5 51334b67d2cbed22e0efec4143bc6ff0 metadata.xml 245 diff --git a/net-dns/dnsmasq/files/dnsmasq-init b/net-dns/dnsmasq/files/dnsmasq-init index 46ea3db0dc32..38a684425768 100644 --- a/net-dns/dnsmasq/files/dnsmasq-init +++ b/net-dns/dnsmasq/files/dnsmasq-init @@ -1,7 +1,9 @@ #!/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.6 2004/07/14 23:23:32 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/files/dnsmasq-init,v 1.7 2006/01/08 01:39:02 avenj Exp $ + +opts="${opts} reload" depend() { provide dns @@ -19,3 +21,9 @@ stop() { start-stop-daemon --stop --quiet --pidfile /var/run/dnsmasq.pid eend $? } + +reload() { + ebegin "Reloading dnsmasq" + start-stop-daemon --stop -s HUP -p /var/run/dnsmasq.pid + eend $? +} |