Commit 353b07b7 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: do not clobber resolv.conf via rtsold #47

parent de5376b8
...@@ -3623,7 +3623,16 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) { ...@@ -3623,7 +3623,16 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) {
killbypid("{$g['varrun_path']}/rtsold_{$wanif}.pid"); killbypid("{$g['varrun_path']}/rtsold_{$wanif}.pid");
sleep(2); sleep(2);
} }
mwexec("/usr/sbin/rtsold -p {$g['varrun_path']}/rtsold_{$wanif}.pid -O {$g['varetc_path']}/rtsold_{$wanif}_script.sh {$wanif}");
mwexecf(
'/usr/sbin/rtsold -p %s -O %s -R %s %s',
array(
"{$g['varetc_path']}/rtsold_{$wanif}_script.sh",
"{$g['varrun_path']}/rtsold_{$wanif}.pid",
'/usr/bin/true', /* XXX missing proper script to refresh resolv.conf */
$wanif
)
);
/* NOTE: will be called from rtsold invoked script /* NOTE: will be called from rtsold invoked script
* link_interface_to_track6($interface, "update"); * link_interface_to_track6($interface, "update");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment