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)
This commit is contained in:
parent
6d179e5b69
commit
67b53e9721
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113759
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user