Project

General

Profile

« Previous | Next » 

Revision c87d89ae

Added by Ermal LUÇI almost 11 years ago

Lets put a logging to see what is bing passed to the rtsold script on calling. Helps with Ticket #3361

View differences:

etc/inc/interfaces.inc
3689 3689
	$rtsoldscript .= "# This shell script launches dhcp6c and configured gateways for this interface.\n";
3690 3690
	$rtsoldscript .= "echo $2 > {$g['tmp_path']}/{$wanif}_routerv6\n";
3691 3691
	$rtsoldscript .= "echo $2 > {$g['tmp_path']}/{$wanif}_defaultgwv6\n";
3692
	$rtsoldscript .= "/usr/bin/logger -t rtsold \"Recieved RA specifying route \$2 for interface {$interface}({$wanif})\"\n";
3692 3693
	$rtsoldscript .= "if [ -f {$g['varrun_path']}/dhcp6c_{$wanif}.pid ]; then\n";
3693 3694
	$rtsoldscript .= "\t/bin/pkill -F {$g['varrun_path']}/dhcp6c_{$wanif}.pid\n";
3694 3695
	$rtsoldscript .= "\t/bin/sleep 1\n";

Also available in: Unified diff