Commit 1d8bf616 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: dhcpv6 debugging *and* logging for rtsold too #637

(cherry picked from commit 2e5ab318)
parent 559787c0
...@@ -3478,11 +3478,12 @@ function interface_dhcpv6_configure($interface = 'wan', $wancfg) ...@@ -3478,11 +3478,12 @@ function interface_dhcpv6_configure($interface = 'wan', $wancfg)
} }
mwexecf( mwexecf(
'/usr/sbin/rtsold -p %s -O %s -R %s %s', '/usr/sbin/rtsold -p %s -O %s -R %s %s %s',
array( array(
"/var/run/rtsold_{$wanif}.pid", "/var/run/rtsold_{$wanif}.pid",
"/var/etc/rtsold_{$wanif}_script.sh", "/var/etc/rtsold_{$wanif}_script.sh",
'/usr/bin/true', /* XXX missing proper script to refresh resolv.conf */ '/usr/bin/true', /* XXX missing proper script to refresh resolv.conf */
empty($wancfg['adv_dhcp6_debug']) ? '-d' : '-D',
$wanif $wanif
) )
); );
......
...@@ -864,7 +864,7 @@ function system_syslogd_start() ...@@ -864,7 +864,7 @@ function system_syslogd_start()
$syslogconfs['ppps'] = array('facility' => array('ppp')); $syslogconfs['ppps'] = array('facility' => array('ppp'));
$syslogconfs['relayd'] = array('facility' => array('relayd'), 'remote' => 'relayd'); $syslogconfs['relayd'] = array('facility' => array('relayd'), 'remote' => 'relayd');
$syslogconfs['resolver'] = array('facility' => array('dnsmasq', 'filterdns', 'unbound')); $syslogconfs['resolver'] = array('facility' => array('dnsmasq', 'filterdns', 'unbound'));
$syslogconfs['routing'] = array('facility' => array('radvd', 'routed', 'olsrd', 'zebra', 'ospfd', 'bgpd', 'miniupnpd')); $syslogconfs['routing'] = array('facility' => array('radvd', 'routed', 'rtsold', 'olsrd', 'zebra', 'ospfd', 'bgpd', 'miniupnpd'));
$syslogconfs['wireless'] = array('facility' => array('hostapd'), 'remote' => 'hostapd'); $syslogconfs['wireless'] = array('facility' => array('hostapd'), 'remote' => 'hostapd');
$separatelogfacilities = array(); $separatelogfacilities = array();
......
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