diff options
author | Steven Barth <cyrus@openwrt.org> | 2013-01-23 08:15:09 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2013-01-23 08:15:09 +0000 |
commit | a81c76617ed1fb52455a160e82f13c795ad909ad (patch) | |
tree | 8ae63c3bf731cc21a321a4f80c05f2952f8f7f94 /package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults | |
parent | 231f8c296989d501d400abd9ba7eb27f512121cd (diff) | |
download | master-31e0f0ae-a81c76617ed1fb52455a160e82f13c795ad909ad.tar.gz master-31e0f0ae-a81c76617ed1fb52455a160e82f13c795ad909ad.tar.bz2 master-31e0f0ae-a81c76617ed1fb52455a160e82f13c795ad909ad.zip |
ipv6-support: don't overwrite existing setting across reflashs
SVN-Revision: 35302
Diffstat (limited to 'package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults')
-rw-r--r-- | package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults b/package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults index c77914b530..3da74b1644 100644 --- a/package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults +++ b/package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults @@ -1,4 +1,7 @@ #!/bin/sh +# Don't override existing settings +uci get network.globals && exit 0 + uci -q batch <<-EOF >/dev/null set network.globals=globals set network.globals.ula_prefix=auto |