ddns-scripts: set default verbose=0 so scripts run in background
authorChristian Schoenebeck <redacted>
Mon, 12 Dec 2016 20:07:20 +0000 (21:07 +0100)
committerChristian Schoenebeck <redacted>
Mon, 12 Dec 2016 20:07:20 +0000 (21:07 +0100)
fix #3645 and https://github.com/lede-project/source/pull/596#issuecomment-266395456

Signed-off-by: Christian Schoenebeck <redacted>
net/ddns-scripts/Makefile
net/ddns-scripts/files/dynamic_dns_functions.sh

index 6be7846cd16888b6c9bac72ba888c502be7f7f45..713e00e1c5895305620d96fa07efb26cf34d3a9e 100755 (executable)
@@ -12,7 +12,7 @@ PKG_NAME:=ddns-scripts
 PKG_VERSION:=2.7.6
 # Release == build
 # increase on changes of services files or tld_names.dat
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_LICENSE:=GPL-2.0
 PKG_MAINTAINER:=Christian Schoenebeck <christian.schoenebeck@gmail.com>
@@ -126,7 +126,7 @@ define Build/Compile
                -e '/^\s*$$$$/d'        $$$$FILE; \
        done
        # ensure that VERSION inside dynamic_dns_functions.sh reflect PKG_VERSION of Makefile
-       $(SED) '/^VERSION=*/s/.*/VERSION="$(PKG_VERSION)"/' $(PKG_BUILD_DIR)/files/dynamic_dns_functions.sh
+       $(SED) '/^VERSION=*/s/.*/VERSION="$(PKG_VERSION)-$(PKG_RELEASE)"/' $(PKG_BUILD_DIR)/files/dynamic_dns_functions.sh
        $(CP) ./tools $(PKG_BUILD_DIR)
        chmod 755 $(PKG_BUILD_DIR)/tools/*
        $(PKG_BUILD_DIR)/tools/public_suffix_list.sh
index 8d648512869e32410a1c300ca71d99b830f94529..f8a260c0e28f579e2affa93ceb0080ebd63d13a0 100755 (executable)
@@ -23,7 +23,7 @@
 # GLOBAL VARIABLES #
 VERSION="2.7.6"
 SECTION_ID=""          # hold config's section name
-VERBOSE=1              # default mode is log to console, but easily changed with parameter
+VERBOSE=0              # default mode is log to console, but easily changed with parameter
 MYPROG=$(basename $0)  # my program call name
 
 LOGFILE=""             # logfile - all files are set in dynamic_dns_updater.sh
git clone https://git.99rst.org/PROJECT