summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-07-26 18:58:46 +0000
committermtm <mtm@FreeBSD.org>2003-07-26 18:58:46 +0000
commit8a39e4ec05f6b00ffbd6fce20d5db877202dd653 (patch)
tree8cf9729a711f043d121cb91e98c0d5c85435f359 /etc/rc.d
parentbfb4dcf217a83be6b55dd25939df0c858f065121 (diff)
downloadFreeBSD-src-8a39e4ec05f6b00ffbd6fce20d5db877202dd653.zip
FreeBSD-src-8a39e4ec05f6b00ffbd6fce20d5db877202dd653.tar.gz
Define the stop command to do nothing when only a specific
interface is to be stopped. In this case we don't want to go beyond releasing the lease.
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/dhclient1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.d/dhclient b/etc/rc.d/dhclient
index 19b5f2e..22a7694 100755
--- a/etc/rc.d/dhclient
+++ b/etc/rc.d/dhclient
@@ -102,6 +102,7 @@ dhclient_poststop()
if [ -n "$2" ]; then
_cmdifn="$2"
+ stop_cmd=":"
fi
load_rc_config $name
OpenPOWER on IntegriCloud