ddns-scripts: fix problem during startup 397/head
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>
Mon, 6 Oct 2014 19:49:47 +0000 (21:49 +0200)
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>
Mon, 6 Oct 2014 19:49:47 +0000 (21:49 +0200)
fixes problem CRITICAL ERROR - custom update_script not found
when extracting url and script from services / services_ipv6 file

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh

index 5d2cafce7436bd8014f56a15f5f41246aa64f74b..71ab4b66e58a3650818b1edd3af9a13203ec1419 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ddns-scripts
 PKG_VERSION:=2.0.1
-PKG_RELEASE:=7
+PKG_RELEASE:=8
 PKG_LICENSE:=GPL-2.0
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
index b2cb237d91e5c0d8b32a8107aa07ebd34c5cecce..33aeb19793a5b71d064d053bd24196c6d340a7cc 100644 (file)
@@ -247,7 +247,7 @@ get_service_data() {
        IFS=$__OLD_IFS
 
        # check is URL or SCRIPT is given
-       __URL=$(echo "$__URL" | grep "^http:")
+       __URL=$(echo "$__DATA" | grep "^http:")
        [ -z "$__URL" ] && __SCRIPT="/usr/lib/ddns/$__DATA"
        
        eval "$1='$__URL'"
index 77f9e1ac8c6bad4bac4ea3e6281ea7402cb505ae..3892c69d8257b5950d69be0c424bac520667b472 100755 (executable)
@@ -117,7 +117,6 @@ load_all_config_options "ddns" "$SECTION_ID"
 
 verbose_echo "\n ************** =: ************** ************** **************"
 verbose_echo "       STARTED =: PID '$$' at $(eval $DATE_PROG)"
-syslog_info "Started"
 case $VERBOSE_MODE in
        0) verbose_echo "  verbose mode =: '0' - run normal, NO console output";;
        1) verbose_echo "  verbose mode =: '1' - run normal, console mode";;