mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not set an exit status in dhclient-script.
From a post that I dug up from Brooks: Why on earth are you exiting with $1 as the status? This is almost certainly the problem. You should not exit from dhclient-exit-hooks at all since it occurs in the context of dhclient-script and this exit values is entirely bogus.
This commit is contained in:
parent
60906d7c42
commit
15b63fa83b
@ -202,8 +202,6 @@ add_new_resolv_conf() {
|
||||
exit_with_hooks() {
|
||||
echo $interface > /tmp/rc.newwanip
|
||||
echo $old_ip_address > /tmp/rc.newwanip_oldip
|
||||
# probably should do something with exit status of the local script
|
||||
exit 0
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Loading…
Reference in New Issue
Block a user