ipv6-support: don't overwrite existing setting across reflashs
authorSteven Barth <cyrus@openwrt.org>
Wed, 23 Jan 2013 08:15:09 +0000 (08:15 +0000)
committerSteven Barth <cyrus@openwrt.org>
Wed, 23 Jan 2013 08:15:09 +0000 (08:15 +0000)
SVN-Revision: 35302

package/network/ipv6/ipv6-support/Makefile
package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults

index ef1f2a77c3caf411d7fa14163fafc293d2cf3221..5ad52f82542e340a72c6218f3c4d2be6d9c769d8 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ipv6-support
-PKG_VERSION:=2013-01-18
+PKG_VERSION:=2013-01-23
 PKG_RELEASE:=1
 
 include $(INCLUDE_DIR)/package.mk
index c77914b530922768b063494c8a6d5c2cda75081b..3da74b16444384fc36d8d93e89ccf413690d51eb 100644 (file)
@@ -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