mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue