mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Move the stop_dhcp in start_dhcp again before the
delay. It seems that dhclient really needs the time to get killed.
This commit is contained in:
parent
faafb4863d
commit
ebba2f158c
1 changed files with 1 additions and 1 deletions
|
|
@ -81,6 +81,7 @@ stop_dhcp() {
|
|||
}
|
||||
|
||||
start_dhcp() {
|
||||
stop_dhcp
|
||||
case ${pccard_ether_delay} in
|
||||
[Nn][Oo])
|
||||
;;
|
||||
|
|
@ -88,7 +89,6 @@ start_dhcp() {
|
|||
sleep ${pccard_ether_delay}
|
||||
;;
|
||||
esac
|
||||
stop_dhcp
|
||||
[ -n "$dhcp_program" ] && dhclient_program="$dhcp_program"
|
||||
[ -n "$dhcp_flags" ] && dhclient_flags="$dhcp_flags"
|
||||
if [ -x "${dhclient_program}" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue