mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Leave a trace that rtsold did fire the dhcp6c client so troubleshooting is easier
This commit is contained in:
parent
e4cf52ed14
commit
58fbb3f033
@ -3560,6 +3560,7 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) {
|
||||
$rtsoldscript .= "\t/bin/sleep 1\n";
|
||||
$rtsoldscript .= "fi\n";
|
||||
$rtsoldscript .= "/usr/local/sbin/dhcp6c -d -c {$g['varetc_path']}/dhcp6c_{$interface}.conf -p {$g['varrun_path']}/dhcp6c_{$wanif}.pid {$wanif}\n";
|
||||
$rtsoldscript .= "/usr/bin/logger -t rtsold \"Starting dhcp6 client for interface {$interface}({$wanif})\"\n";
|
||||
/* Add wide-dhcp6c shell script here. Because we can not pass a argument to it. */
|
||||
if (!@file_put_contents("{$g['varetc_path']}/rtsold_{$wanif}_script.sh", $rtsoldscript)) {
|
||||
printf("Error: cannot open rtsold_{$interface}_script.sh in interface_dhcpv6_configure() for writing.\n");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user