Project

General

Profile

« Previous | Next » 

Revision 16bf36e0

Added by Kristof Provost over 2 years ago

Have rtsold always call the script, even if 'M' or 'O' bits are not set

View differences:

src/etc/inc/interfaces.inc
4885 4885
		$dhcp6cscriptwithoutra .= "echo \$dreason > /tmp/{$wanif}_reason\n";
4886 4886
		$dhcp6cscriptwithoutra .= "case \$REASON in\n";
4887 4887
		$dhcp6cscriptwithoutra .= "REQUEST)\n";
4888
		$dhcp6cscriptwithoutra .= "/usr/sbin/rtsold -1 -p {$g['varrun_path']}/rtsold_{$wanif}.pid -M {$g['varetc_path']}/rtsold_{$wanif}_script.sh -O {$g['varetc_path']}/rtsold_{$wanif}_script.sh {$wanif}\n";
4888
		$dhcp6cscriptwithoutra .= "/usr/sbin/rtsold -1 -p {$g['varrun_path']}/rtsold_{$wanif}.pid -A {$g['varetc_path']}/rtsold_{$wanif}_script.sh {$wanif}\n";
4889 4889
		if ($debugOption == '-D') {
4890 4890
			$dhcp6cscriptwithoutra .= "/usr/bin/logger -t dhcp6c \"dhcp6c REQUEST on {$wanif} - running rtsold\"\n";
4891 4891
		}
......
5117 5117
			sleep(2);
5118 5118
			mwexec("/usr/sbin/rtsold -1 " .
5119 5119
			    "-p {$g['varrun_path']}/rtsold_{$realif}.pid " .
5120
			    "-M {$g['varetc_path']}/rtsold_{$realif}_script.sh " .
5121
			    "-O {$g['varetc_path']}/rtsold_{$realif}_script.sh " .
5120
			    "-A {$g['varetc_path']}/rtsold_{$realif}_script.sh " .
5122 5121
			    $realif);
5123 5122
		}
5124 5123
	} else {

Also available in: Unified diff