fix(internet.dyndomain.sh): use -gt

This commit is contained in:
openoms 2024-04-07 15:46:30 +02:00
parent ceb67e4018
commit 24997ac0ca
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -78,13 +78,13 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
dynUpdateUrl=''
# when additional parameters are given
if [ $# > 1 ]; then
if [ $# -gt 1 ]; then
# 2. parameter is dyndomain (required)
dynDomain=$2
# 3. parameter is the update url (optional - could be that router is doing the update)
if [ $# > 2 ]; then
if [ $# -gt 2 ]; then
dynUpdateUrl=$3
fi
fi