/[gentoo-x86]/net-misc/dnsmasq/files/dnsmasq-init
Gentoo

Contents of /net-misc/dnsmasq/files/dnsmasq-init

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jun 29 00:55:27 2002 UTC (17 years, 6 months ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
moving those files to net-dns

1 #!/sbin/runscript
2 # Copyright 1999-2002 Gentoo Technologies, Inc.
3 # Distributed under the terms of the GNU General Public License, v2 or later
4 # $Header: /home/cvsroot/gentoo-x86/net-misc/dnsmasq/files/dnsmasq-init,v 1.1 2002/06/06 19:18:49 woodchip Exp $
5
6 depend() {
7 need net
8 }
9
10 start() {
11 ebegin "Starting dnsmasq"
12 start-stop-daemon --start --quiet --exec /usr/sbin/dnsmasq \
13 -- -x /var/run/dnsmasq.pid ${DNSMASQ_OPTS}
14 eend $?
15 }
16
17 stop() {
18 ebegin "Stopping dnsmasq"
19 start-stop-daemon --stop --quiet --pidfile /var/run/dnsmasq.pid
20 eend $?
21 }

  ViewVC Help
Powered by ViewVC 1.1.20