2007-11-23 17:38:25 +05:30
|
|
|
#!/sbin/runscript
|
2008-01-11 17:15:59 +05:30
|
|
|
# Copyright 2007-2008 Roy Marples
|
2007-11-23 17:38:25 +05:30
|
|
|
# All rights reserved
|
|
|
|
|
2008-01-11 16:25:36 +05:30
|
|
|
command=@PREFIX@/sbin/dnsmasq
|
2007-11-23 17:38:25 +05:30
|
|
|
command_args=${dnsmasq_args}
|
2008-01-11 16:25:36 +05:30
|
|
|
pidfile=@VARBASE@/run/dnsmasq.pid
|
|
|
|
required_files=/etc/dnsmasq.conf
|
2007-11-23 17:38:25 +05:30
|
|
|
|
2007-11-29 21:53:59 +05:30
|
|
|
extra_started_commands="reload"
|
|
|
|
|
2007-11-23 17:38:25 +05:30
|
|
|
depend() {
|
|
|
|
provide dns
|
|
|
|
need localmount net
|
|
|
|
after bootmisc
|
|
|
|
}
|
2007-11-29 21:53:59 +05:30
|
|
|
|
|
|
|
reload() {
|
|
|
|
ebegin "Reloading ${SVCNAME}"
|
|
|
|
start-stop-daemon --signal SIGHUP --pidfile "${pidfile}"
|
|
|
|
eend $?
|
|
|
|
}
|
2007-12-15 01:39:53 +05:30
|
|
|
|
|
|
|
# vim: set ts=4 :
|