Lets put a logging to see what is bing passed to the rtsold script on calling. Helps with Ticket #3361
This commit is contained in:
parent
6f55af1c25
commit
c87d89ae9f
|
@ -3689,6 +3689,7 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) {
|
|||
$rtsoldscript .= "# This shell script launches dhcp6c and configured gateways for this interface.\n";
|
||||
$rtsoldscript .= "echo $2 > {$g['tmp_path']}/{$wanif}_routerv6\n";
|
||||
$rtsoldscript .= "echo $2 > {$g['tmp_path']}/{$wanif}_defaultgwv6\n";
|
||||
$rtsoldscript .= "/usr/bin/logger -t rtsold \"Recieved RA specifying route \$2 for interface {$interface}({$wanif})\"\n";
|
||||
$rtsoldscript .= "if [ -f {$g['varrun_path']}/dhcp6c_{$wanif}.pid ]; then\n";
|
||||
$rtsoldscript .= "\t/bin/pkill -F {$g['varrun_path']}/dhcp6c_{$wanif}.pid\n";
|
||||
$rtsoldscript .= "\t/bin/sleep 1\n";
|
||||
|
|
Reference in New Issue