fff-nodewatcher: only run uci-defaults once
If /etc/config/nodewatcher already exists, a proper uci-defaults script should not overwrite it. Since this package is the owner of the config file, this change won't change anything for the current firmware, but will allow to use this as a package, too. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
b08694359a
commit
2a970972a3
|
@ -1,7 +1,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fff-nodewatcher
|
||||
PKG_RELEASE:=61
|
||||
PKG_RELEASE:=62
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
[ -s /etc/config/nodewatcher ] && exit 0
|
||||
|
||||
touch /etc/config/nodewatcher
|
||||
|
||||
uci batch >/dev/null <<EOF
|
||||
|
|
Loading…
Reference in New Issue