summaryrefslogtreecommitdiff
path: root/net/dhcpcd/files
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2009-03-05 23:23:26 +0000
committerroy <roy@pkgsrc.org>2009-03-05 23:23:26 +0000
commit72b78e143053c1d8f2910b982e7bd18244df7cea (patch)
tree782b924663fc1520ffb30d82b49d7b62c1a8b7d6 /net/dhcpcd/files
parent4c1165f9345210b30e60613a70caadfbf8527a85 (diff)
downloadpkgsrc-72b78e143053c1d8f2910b982e7bd18244df7cea.tar.gz
Import dhcpcd-4.99.14
dhcpcd is a small, bloat free DHCP client which includes these features * DHCP over firewire * User Class * SIP Servers * Domain Search * Classless Static Routes * IPv4LL aka APIPA aka Zeroconf * Node specific Client Identifiers * DHCP over Infiniband * Link carrier and interface addition/removal detection * Dynamic route management
Diffstat (limited to 'net/dhcpcd/files')
-rwxr-xr-xnet/dhcpcd/files/dhcpcd.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/dhcpcd/files/dhcpcd.sh b/net/dhcpcd/files/dhcpcd.sh
new file mode 100755
index 00000000000..620de4191fe
--- /dev/null
+++ b/net/dhcpcd/files/dhcpcd.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# PROVIDE: dhcpcd
+# REQUIRE: network mountcritlocal
+# BEFORE: NETWORKING
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="dhcpcd"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+pidfile="@VARBASE@/run/${name}.pid"
+
+load_rc_config $name
+run_rc_command "$1"