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
e864a57cf1
commit
09def0e0e4
@ -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