1 |
chutzpah 12/03/07 21:59:19 |
2 |
|
3 |
Added: dnsmasq-init-r2 |
4 |
Removed: resolvconf.dnsmasq |
5 |
Log: |
6 |
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. |
7 |
|
8 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 net-dns/dnsmasq/files/dnsmasq-init-r2 |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/files/dnsmasq-init-r2?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnsmasq/files/dnsmasq-init-r2?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: dnsmasq-init-r2 |
17 |
=================================================================== |
18 |
#!/sbin/runscript |
19 |
# Copyright 1999-2012 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License, v2 or later |
21 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/files/dnsmasq-init-r2,v 1.1 2012/03/07 21:59:19 chutzpah Exp $ |
22 |
|
23 |
extra_started_commands="reload" |
24 |
|
25 |
pidfile="/var/run/dnsmasq.pid" |
26 |
command="/usr/sbin/dnsmasq" |
27 |
command_args="-x ${pidfile} ${DNSMASQ_OPTS}" |
28 |
start_stop_daemon_args="--retry TERM/3/TERM/5" |
29 |
|
30 |
depend() { |
31 |
provide dns |
32 |
need localmount net |
33 |
after bootmisc |
34 |
use logger |
35 |
} |
36 |
|
37 |
reload() { |
38 |
ebegin "Reloading ${SVCNAME}" |
39 |
start-stop-daemon --stop --oknodo --signal HUP \ |
40 |
--exec ${command} --pidfile ${pidfile} |
41 |
eend $? |
42 |
} |