summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-09-10 09:26:49 +0000
committerErmal <eri@pfsense.org>2013-09-10 09:26:49 +0000
commit58fbb3f0333712ff26dd3ec9db2bcae956c7fcf1 (patch)
tree9280363c78f8d5c7893e760457695711a6ed4bba /etc
parente4cf52ed14b7dc58a711d885ed2e428ed67d1135 (diff)
downloadpfsense-58fbb3f0333712ff26dd3ec9db2bcae956c7fcf1.zip
pfsense-58fbb3f0333712ff26dd3ec9db2bcae956c7fcf1.tar.gz
Leave a trace that rtsold did fire the dhcp6c client so troubleshooting is easier
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 75d1ba0..0a5842d 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3560,6 +3560,7 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) {
$rtsoldscript .= "\t/bin/sleep 1\n";
$rtsoldscript .= "fi\n";
$rtsoldscript .= "/usr/local/sbin/dhcp6c -d -c {$g['varetc_path']}/dhcp6c_{$interface}.conf -p {$g['varrun_path']}/dhcp6c_{$wanif}.pid {$wanif}\n";
+ $rtsoldscript .= "/usr/bin/logger -t rtsold \"Starting dhcp6 client for interface {$interface}({$wanif})\"\n";
/* Add wide-dhcp6c shell script here. Because we can not pass a argument to it. */
if (!@file_put_contents("{$g['varetc_path']}/rtsold_{$wanif}_script.sh", $rtsoldscript)) {
printf("Error: cannot open rtsold_{$interface}_script.sh in interface_dhcpv6_configure() for writing.\n");
OpenPOWER on IntegriCloud