Revision 58fbb3f0
Added by Ermal LUÇI almost 12 years ago
etc/inc/interfaces.inc | ||
---|---|---|
3560 | 3560 |
$rtsoldscript .= "\t/bin/sleep 1\n"; |
3561 | 3561 |
$rtsoldscript .= "fi\n"; |
3562 | 3562 |
$rtsoldscript .= "/usr/local/sbin/dhcp6c -d -c {$g['varetc_path']}/dhcp6c_{$interface}.conf -p {$g['varrun_path']}/dhcp6c_{$wanif}.pid {$wanif}\n"; |
3563 |
$rtsoldscript .= "/usr/bin/logger -t rtsold \"Starting dhcp6 client for interface {$interface}({$wanif})\"\n"; |
|
3563 | 3564 |
/* Add wide-dhcp6c shell script here. Because we can not pass a argument to it. */ |
3564 | 3565 |
if (!@file_put_contents("{$g['varetc_path']}/rtsold_{$wanif}_script.sh", $rtsoldscript)) { |
3565 | 3566 |
printf("Error: cannot open rtsold_{$interface}_script.sh in interface_dhcpv6_configure() for writing.\n"); |
Also available in: Unified diff
Leave a trace that rtsold did fire the dhcp6c client so troubleshooting is easier