mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
fix(internet.dyndomain.sh): use -gt
This commit is contained in:
parent
ceb67e4018
commit
24997ac0ca
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user