Revize 1853
Přidáno uživatelem Ondřej Fibich před téměř 12 roky(ů)
freenetis/branches/1.1/application/vendors/dhcp/freenetis-dhcp-sync.sh | ||
---|---|---|
else
|
||
echo "[INFO] `date -R` No change -> keeping old configuration"
|
||
fi
|
||
else if [[ "$status" =~ ^30[0-9] ]]; then
|
||
elif [[ "$status" =~ ^30[0-9] ]]; then
|
||
echo "[INFO] `date -R` DHCP configuration not changed"
|
||
else if [ "$status" = "404" ]
|
||
echo "[ERROR] `date -R` Download failed (code: $status). Wrong path to FreenetIS."
|
||
else if [ "$status" = "403" ]
|
||
elif [ "$status" = "404" ]; then
|
||
echo "[ERROR] `date -R` Download failed (code: $status). Wrong path to FreenetIS or device $DEVICE_ID not exists."
|
||
elif [ "$status" = "403" ]; then
|
||
echo "[ERROR] `date -R` Download failed (code: $status). Device $DEVICE_ID not configured properly."
|
||
else
|
||
echo "[ERROR] `date -R` Download failed (code: $status)"
|
Také k dispozici: Unified diff
Oprava:
- oprava drobne chyby v predchozim commitu