summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/dhclient
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/dhclient')
-rwxr-xr-xetc/rc.d/dhclient18
1 files changed, 5 insertions, 13 deletions
diff --git a/etc/rc.d/dhclient b/etc/rc.d/dhclient
index 7a08b87..f7c9117 100755
--- a/etc/rc.d/dhclient
+++ b/etc/rc.d/dhclient
@@ -17,20 +17,12 @@
. /etc/network.subr
name="dhclient"
+rcvar=
pidfile="/var/run/${name}.pid"
-case "${OSTYPE}" in
-FreeBSD)
- rcvar=
- start_precmd="dhclient_prestart"
- start_postcmd="dhclient_poststart"
- stop_precmd="dhclient_prestop"
- stop_postcmd="dhclient_poststop"
- ;;
-NetBSD)
- rcvar=$name
- command="/sbin/${name}"
- ;;
-esac
+start_precmd="dhclient_prestart"
+start_postcmd="dhclient_poststart"
+stop_precmd="dhclient_prestop"
+stop_postcmd="dhclient_poststop"
dhclient_common()
{
OpenPOWER on IntegriCloud