diff options
author | mtm <mtm@FreeBSD.org> | 2003-04-20 19:14:16 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-04-20 19:14:16 +0000 |
commit | ac7a615c707dc6f42aa23337bbe07bfb312c96c4 (patch) | |
tree | aa0a53622ab0201f84f7e3265d42b5cd620c6f80 /etc/rc.d/dhclient | |
parent | 5913c14750ce2b7ae62c2030101cd195324ad9a9 (diff) | |
download | FreeBSD-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/rc.d/dhclient')
-rwxr-xr-x | etc/rc.d/dhclient | 5 |
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 } |