summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-04-20 19:14:16 +0000
committermtm <mtm@FreeBSD.org>2003-04-20 19:14:16 +0000
commitac7a615c707dc6f42aa23337bbe07bfb312c96c4 (patch)
treeaa0a53622ab0201f84f7e3265d42b5cd620c6f80 /etc
parent5913c14750ce2b7ae62c2030101cd195324ad9a9 (diff)
downloadFreeBSD-src-ac7a615c707dc6f42aa23337bbe07bfb312c96c4.zip
FreeBSD-src-ac7a615c707dc6f42aa23337bbe07bfb312c96c4.tar.gz
Run interface specific scripts for dhcp interfaces too.
This is how it has always been done (before and after rc.d) but I somehow failed to include it when I broke up network1. Submitted by: bmah Approved by: markm (mentor)(implicit)
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/dhclient5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.d/dhclient b/etc/rc.d/dhclient
index 8b1015a..d296825 100755
--- a/etc/rc.d/dhclient
+++ b/etc/rc.d/dhclient
@@ -36,6 +36,11 @@ dhclient_prestart()
if [ -z "$dhcp_list" ]; then
return 1
fi
+
+ for ifn in ${dhcp_list}; do
+ ifscript_up ${ifn}
+ done
+
rc_flags="${rc_flags} ${dhcp_flags} ${dhcp_list}"
return 0
}
OpenPOWER on IntegriCloud