mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove sleep
This commit is contained in:
parent
7b1e33b0ca
commit
0e22f1d536
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ _auto_clock() {
|
||||||
: > /.archboot
|
: > /.archboot
|
||||||
_task_clock &
|
_task_clock &
|
||||||
_progress_wait "0" "99" "Using ${_ZONE} and enable NTP timesyncd..." "0.001"
|
_progress_wait "0" "99" "Using ${_ZONE} and enable NTP timesyncd..." "0.001"
|
||||||
_progress "100" "Clock ${_ZONE} configuration completed successfully."
|
_progress "100" "Clock configuration completed successfully."
|
||||||
sleep 2
|
sleep 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ _SET_TIME=""
|
||||||
# automatic setup
|
# automatic setup
|
||||||
if ping -c1 www.google.com &>"${_NO_LOG}"; then
|
if ping -c1 www.google.com &>"${_NO_LOG}"; then
|
||||||
_ZONE="$(curl -s "http://ip-api.com/csv/?fields=timezone")"
|
_ZONE="$(curl -s "http://ip-api.com/csv/?fields=timezone")"
|
||||||
_auto_clock | _dialog --title " Clock Configuration " --no-mouse --gauge "Using ${_ZONE} and enable NTP timesyncd..." 6 60 0
|
_auto_clock | _dialog --title " Clock Configuration " --no-mouse --gauge "Using ${_ZONE} and enable NTP timesyncd..." 6 70 0
|
||||||
_SET_TIME="1"
|
_SET_TIME="1"
|
||||||
fi
|
fi
|
||||||
while [[ -z "${_SET_TIME}" ]]; do
|
while [[ -z "${_SET_TIME}" ]]; do
|
||||||
|
|
Loading…
Reference in a new issue