summaryrefslogtreecommitdiff
path: root/net/dhcpcd/files
diff options
context:
space:
mode:
authorroy <roy>2009-03-05 23:23:26 +0000
committerroy <roy>2009-03-05 23:23:26 +0000
commit1782492105f2812cf5b1476ceb439f7ab0edc3d2 (patch)
tree782b924663fc1520ffb30d82b49d7b62c1a8b7d6 /net/dhcpcd/files
parent63d2ef86eb5b08f933cc1690585147abcb4c5f07 (diff)
downloadpkgsrc-1782492105f2812cf5b1476ceb439f7ab0edc3d2.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"