From: Jo-Philipp Wich Date: Mon, 15 Nov 2010 01:17:32 +0000 (+0000) Subject: 6to4: use revert instead of delete, avoids aggregating deltas in /tmp/.uci over time X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5bf3838a00e7946b2ce50a5c849f9bb270a185be;p=openwrt%2Fstaging%2Fnbd.git 6to4: use revert instead of delete, avoids aggregating deltas in /tmp/.uci over time SVN-Revision: 23998 --- diff --git a/package/6to4/files/6to4.sh b/package/6to4/files/6to4.sh index 9dfd7cd528..bbf8dba41b 100755 --- a/package/6to4/files/6to4.sh +++ b/package/6to4/files/6to4.sh @@ -116,8 +116,8 @@ setup_interface_6to4() { local sid="6to4_$cfg" uci -q batch <<-EOF - delete radvd.iface_$sid - delete radvd.prefix_$sid + revert radvd.iface_$sid + revert radvd.prefix_$sid set radvd.iface_$sid=interface set radvd.iface_$sid.ignore=0 set radvd.iface_$sid.interface=${adv_interface:-lan} @@ -165,8 +165,8 @@ stop_interface_6to4() { local sid="6to4_$cfg" uci -q batch <<-EOF - delete radvd.iface_$sid - delete radvd.prefix_$sid + revert radvd.iface_$sid + revert radvd.prefix_$sid EOF /etc/init.d/radvd enabled && /etc/init.d/radvd restart