Conditions not needed for the mesh variant
This commit is contained in:
parent
435c265f71
commit
951489c0cd
|
@ -703,13 +703,15 @@ function parse_args {
|
|||
show_help
|
||||
exit 3
|
||||
fi
|
||||
if [ ! $DDNS_USERNAME ]; then
|
||||
echo 'Please provide the username for your dynamic DNS provider with the --ddnsuser option'
|
||||
exit 7823
|
||||
fi
|
||||
if [ ! $DDNS_PASSWORD ]; then
|
||||
echo 'Please provide the password for your dynamic DNS provider with the --ddnspass option'
|
||||
exit 6382
|
||||
if [[ $SYSTEM_TYPE != "$VARIANT_MESH" ]]; then
|
||||
if [ ! $DDNS_USERNAME ]; then
|
||||
echo 'Please provide the username for your dynamic DNS provider with the --ddnsuser option'
|
||||
exit 7823
|
||||
fi
|
||||
if [ ! $DDNS_PASSWORD ]; then
|
||||
echo 'Please provide the password for your dynamic DNS provider with the --ddnspass option'
|
||||
exit 6382
|
||||
fi
|
||||
fi
|
||||
if [ ! $SYSTEM_TYPE ]; then
|
||||
SYSTEM_TYPE=$VARIANT_FULL
|
||||
|
|
Loading…
Reference in New Issue