mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
local vars are only possible inside of functions
This commit is contained in:
parent
b4b3bb83f4
commit
c4fa908dd7
@ -357,7 +357,7 @@ case ${cmd} in
|
||||
;;
|
||||
update)
|
||||
doReadCFG
|
||||
local dnsentry=$(nslookup "${host}"|tail -n2|grep A|sed s/[^0-9.]//g)
|
||||
dnsentry=$(nslookup "${host}"|tail -n2|grep A|sed s/[^0-9.]//g)
|
||||
doGetWANIP
|
||||
echo ${IPFILE}
|
||||
echo ${wanip} > ${IPFILE}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user