mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
ddns-scripts: various fixes
fixes reported in #3621 #3617 #3616 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
This commit is contained in:
@@ -146,7 +146,11 @@ case "$1" in
|
||||
;;
|
||||
start)
|
||||
[ -z "$SECTION" ] && usage_err "command 'start': 'SECTION' not set"
|
||||
$DDNSPRG -v $VERBOSE -S $SECTION -- start
|
||||
if [ $VERBOSE -eq 0 ]; then # start in background
|
||||
$DDNSPRG -v 0 -S $SECTION -- start &
|
||||
else
|
||||
$DDNSPRG -v $VERBOSE -S $SECTION -- start
|
||||
fi
|
||||
;;
|
||||
reload)
|
||||
$DDNSPRG -- reload
|
||||
|
||||
Reference in New Issue
Block a user