public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-dns/dnsmasq/files: dnsmasq-init-r2 resolvconf.dnsmasq
@ 2012-03-07 21:59 Patrick McLean (chutzpah)
  0 siblings, 0 replies; only message in thread
From: Patrick McLean (chutzpah) @ 2012-03-07 21:59 UTC (permalink / raw
  To: gentoo-commits

chutzpah    12/03/07 21:59:19

  Added:                dnsmasq-init-r2
  Removed:              resolvconf.dnsmasq
  Log:
  Version bump, rework configuration a bit to use a helper function. Add lua and script USE flags, and enable dhcpv6 if both the dhcp and ipv6 USE flags are enabled. Drop some older versions. Update copyright headers.
  
  (Portage version: 2.1.10.49/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-dns/dnsmasq/files/dnsmasq-init-r2

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/files/dnsmasq-init-r2?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/files/dnsmasq-init-r2?rev=1.1&content-type=text/plain

Index: dnsmasq-init-r2
===================================================================
#!/sbin/runscript
# Copyright 1999-2012 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-r2,v 1.1 2012/03/07 21:59:19 chutzpah Exp $

extra_started_commands="reload"

pidfile="/var/run/dnsmasq.pid"
command="/usr/sbin/dnsmasq"
command_args="-x ${pidfile} ${DNSMASQ_OPTS}"
start_stop_daemon_args="--retry TERM/3/TERM/5"

depend() {
	provide dns
	need localmount net
	after bootmisc
	use logger
}

reload() {
	ebegin "Reloading ${SVCNAME}"
	start-stop-daemon --stop --oknodo --signal HUP \
		--exec ${command} --pidfile ${pidfile}
	eend $?
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-07 21:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07 21:59 [gentoo-commits] gentoo-x86 commit in net-dns/dnsmasq/files: dnsmasq-init-r2 resolvconf.dnsmasq Patrick McLean (chutzpah)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox