mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 04:08:21 +04:00
ddns-scripts: fix problem during startup
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>
This commit is contained in:
@@ -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'"
|
||||
|
||||
@@ -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";;
|
||||
|
||||
Reference in New Issue
Block a user