fix IP variable problem(by wmyfelix)

This commit is contained in:
Hyy2001X 2021-05-16 20:56:51 +08:00
parent f671e27791
commit 429df17fd9
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ Firmware-Diy_Base() {
;; ;;
esac esac
} }
New_IP_Address="{Default_IP_Address}" New_IP_Address="${Default_IP_Address}"
if [[ -n "${Defined_IP_Address}" ]];then if [[ -n "${Defined_IP_Address}" ]];then
TIME "Using defined IP Address [${Defined_IP_Address}] ..." TIME "Using defined IP Address [${Defined_IP_Address}] ..."
New_IP_Address="${Defined_IP_Address}" New_IP_Address="${Defined_IP_Address}"