Révision 60ef0911
Ajouté par Renato Botelho il y a plus de 9 ans
etc/inc/interfaces.inc | ||
---|---|---|
3909 | 3909 |
else |
3910 | 3910 |
log_error(printf(gettext("Could not bring up %s interface in interface_dhcp_configure()"), $wanif)); |
3911 | 3911 |
|
3912 |
/* Make sure dhclient is not running */ |
|
3913 |
kill_dhclient_process($wanif); |
|
3914 |
|
|
3912 | 3915 |
/* fire up dhclient */ |
3913 | 3916 |
mwexec("/sbin/dhclient -c {$g['varetc_path']}/dhclient_{$interface}.conf {$wanif} > {$g['tmp_path']}/{$wanif}_output 2> {$g['tmp_path']}/{$wanif}_error_output"); |
3914 | 3917 |
|
Formats disponibles : Unified diff
Make sure dhclient is not running before start it, it fixes console interface setup when interface is using dhcpv4. It should also help #3482