|
From: <abe...@us...> - 2017-05-30 22:47:17
|
Revision: 8359
http://sourceforge.net/p/astlinux/code/8359
Author: abelbeck
Date: 2017-05-30 22:47:14 +0000 (Tue, 30 May 2017)
Log Message:
-----------
wide-dhcpv6, /etc/dhcp6c.script, enable a default action if /mnt/kd/dhcp6c.script does not exist
Modified Paths:
--------------
branches/1.0/package/wide-dhcpv6/dhcp6c.script
Modified: branches/1.0/package/wide-dhcpv6/dhcp6c.script
===================================================================
--- branches/1.0/package/wide-dhcpv6/dhcp6c.script 2017-05-30 22:36:33 UTC (rev 8358)
+++ branches/1.0/package/wide-dhcpv6/dhcp6c.script 2017-05-30 22:47:14 UTC (rev 8359)
@@ -138,6 +138,21 @@
export dhcp6c_prefix dhcp6c_prefix_base dhcp6c_prefix_len
$SCRIPTFILE >/dev/null 2>&1 &
+else
+ if [ -n "$dhcp6c_prefix" ]; then
+ case "$dhcp6c_changed" in
+ yes) changed=" (changed)" ;;
+ no) changed=" (no change)" ;;
+ *) changed="" ;;
+ esac
+ logger -t dhcp6c -p kern.info "IPv6 Prefix$changed: $dhcp6c_prefix"
+
+ if [ "$dhcp6c_changed" != "no" ]; then
+ if [ -f /var/tmp/aif-net-prefix-translation-global-ipv6 ]; then
+ arno-iptables-firewall status-plugins net-prefix-translation >/dev/null 2>&1 &
+ fi
+ fi
+ fi
fi
exit 0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|