openwrt-packages/net/ddns-scripts
Christian Schoenebeck 6d8f45f759 ddns-scripts: fixes "sed: no previous regexp"
Rewritten Pull for #5885

When ran from the command line, the script prints
error messages like below. They are caused by supplying
empty "$password" and "$URL_PASS" for some log messages
like "130822       : Detect local IP on 'interface'".
The fix is to check if the values are not empty before running
through sed.

/etc/init.d/ddns start
sed: no previous regexp

Reported by Marc Benoit <marcb62185@gmail.com>

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-04-21 12:11:46 +02:00
..
files ddns-scripts: fixes "sed: no previous regexp" 2018-04-21 12:11:46 +02:00
samples ddns-scripts: update to 2.7.6-1 2016-12-04 16:47:09 +01:00
tools ddns-scripts: no longer build public_suffix_list.dat.gz during build 2016-12-25 16:02:52 +01:00
Makefile ddns-scripts: fixes "sed: no previous regexp" 2018-04-21 12:11:46 +02:00