diff options
author | minskim <minskim> | 2005-10-18 04:41:59 +0000 |
---|---|---|
committer | minskim <minskim> | 2005-10-18 04:41:59 +0000 |
commit | 4ef908a71c7e89e0c06d9856927e8fa5def4b01b (patch) | |
tree | 6b88e3d8230b9d69364fed65d30f68581376806f /net/dnsmasq/files | |
parent | 55dd49fe396e7a126c60fbeb22cd3ea15fb540db (diff) | |
download | pkgsrc-4ef908a71c7e89e0c06d9856927e8fa5def4b01b.tar.gz |
Import dnsmasq from pkgsrc-wip. Packaged by pancake and updated by
dhowland.
Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP
server. It is designed to provide DNS and, optionally, DHCP, to a
small network. It can serve the names of local machines which are not
in the global DNS. The DHCP server integrates with the DNS server and
allows machines with DHCP-allocated addresses to appear in the DNS
with names configured either in each host or in a central
configuration file. Dnsmasq supports static and dynamic DHCP leases
and BOOTP for network booting of diskless machines.
Diffstat (limited to 'net/dnsmasq/files')
-rw-r--r-- | net/dnsmasq/files/dnsmasq.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net/dnsmasq/files/dnsmasq.sh b/net/dnsmasq/files/dnsmasq.sh new file mode 100644 index 00000000000..81558399c12 --- /dev/null +++ b/net/dnsmasq/files/dnsmasq.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $NetBSD: dnsmasq.sh,v 1.1.1.1 2005/10/18 04:41:59 minskim Exp $ +# + +# PROVIDE: dnsmasq +# REQUIRE: DAEMON SERVERS + +. /etc/rc.subr + +name="dnsmasq" +rcvar=$name +command="@PREFIX@/sbin/${name}" +pidfile="/var/run/${name}.pid" + +load_rc_config $name +run_rc_command "$1" |