Browse Source

Merge pull request #3651 from chris5560/ddns-scripts

ddns-scripts: set default verbose=0 so scripts run in background
lilik-openwrt-22.03
Hannu Nyman 8 years ago
committed by GitHub
parent
commit
e4b6e028de
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      net/ddns-scripts/Makefile
  2. +1
    -1
      net/ddns-scripts/files/dynamic_dns_functions.sh

+ 2
- 2
net/ddns-scripts/Makefile View File

@ -12,7 +12,7 @@ PKG_NAME:=ddns-scripts
PKG_VERSION:=2.7.6 PKG_VERSION:=2.7.6
# Release == build # Release == build
# increase on changes of services files or tld_names.dat # increase on changes of services files or tld_names.dat
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER:=Christian Schoenebeck <christian.schoenebeck@gmail.com> PKG_MAINTAINER:=Christian Schoenebeck <christian.schoenebeck@gmail.com>
@ -126,7 +126,7 @@ define Build/Compile
-e '/^\s*$$$$/d' $$$$FILE; \ -e '/^\s*$$$$/d' $$$$FILE; \
done done
# ensure that VERSION inside dynamic_dns_functions.sh reflect PKG_VERSION of Makefile # 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) $(CP) ./tools $(PKG_BUILD_DIR)
chmod 755 $(PKG_BUILD_DIR)/tools/* chmod 755 $(PKG_BUILD_DIR)/tools/*
$(PKG_BUILD_DIR)/tools/public_suffix_list.sh $(PKG_BUILD_DIR)/tools/public_suffix_list.sh


+ 1
- 1
net/ddns-scripts/files/dynamic_dns_functions.sh View File

@ -23,7 +23,7 @@
# GLOBAL VARIABLES # # GLOBAL VARIABLES #
VERSION="2.7.6" VERSION="2.7.6"
SECTION_ID="" # hold config's section name 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 MYPROG=$(basename $0) # my program call name
LOGFILE="" # logfile - all files are set in dynamic_dns_updater.sh LOGFILE="" # logfile - all files are set in dynamic_dns_updater.sh


Loading…
Cancel
Save