mirror of https://github.com/hak5/openwrt.git
ipv6-support: don't overwrite existing setting across reflashs
SVN-Revision: 35302lede-17.01
parent
231f8c2969
commit
a81c76617e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue