mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 21:54:40 +08:00
Update InstallNET.sh
This commit is contained in:
parent
665820a6ba
commit
de57de5dba
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ function getDisk(){
|
|||
|
||||
# $1 is timezone checkfile direction, $2 $3 $4 are api keys.
|
||||
function getUserTimezone(){
|
||||
if [[ "$TimeZone" == "0" ]]; then
|
||||
if [[ "$TimeZone" == "" ]]; then
|
||||
UserIP=`who am i | awk '{print $5}' | sed 's/(//g' | sed 's/)//g'`
|
||||
for Count in "$2" "$3" "$4"; do
|
||||
[[ "$TimeZone" == "Asia/Shanghai" ]] && break
|
||||
|
|
Loading…
Reference in a new issue