ipv6-support: don't overwrite existing setting across reflashs

SVN-Revision: 35302
This commit is contained in:
Steven Barth 2013-01-23 08:15:09 +00:00
parent 231f8c2969
commit a81c76617e
2 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ipv6-support PKG_NAME:=ipv6-support
PKG_VERSION:=2013-01-18 PKG_VERSION:=2013-01-23
PKG_RELEASE:=1 PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -1,4 +1,7 @@
#!/bin/sh #!/bin/sh
# Don't override existing settings
uci get network.globals && exit 0
uci -q batch <<-EOF >/dev/null uci -q batch <<-EOF >/dev/null
set network.globals=globals set network.globals=globals
set network.globals.ula_prefix=auto set network.globals.ula_prefix=auto