mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
[package] 6to4: use revert instead of delete, avoids aggregating deltas in /tmp/.uci over time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23998 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5334f6ff6f
commit
71b59686b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user