mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add titles
This commit is contained in:
parent
d96d420043
commit
766a3bb3c4
1 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ _timezone () {
|
|||
_SET_ZONE=""
|
||||
fi
|
||||
done
|
||||
_dialog --no-mouse --infobox "Setting Timezone to ${_ZONE}..." 3 50
|
||||
_dialog --title " Clock Configuration " --no-mouse --infobox "Setting Timezone to ${_ZONE}..." 3 50
|
||||
timedatectl set-timezone "${_ZONE}"
|
||||
sleep 2
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ _timeset() {
|
|||
timedatectl set-time "${_DATETIME}"
|
||||
_SET_TIME="1"
|
||||
fi
|
||||
_dialog --no-mouse --infobox "Clock configuration completed successfully." 3 50
|
||||
_dialog --title " Clock Configuration " --no-mouse --infobox "Clock configuration completed successfully." 3 50
|
||||
sleep 2
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ _SET_TIME=""
|
|||
# automatic setup
|
||||
if ping -c1 www.google.com &>/dev/null; then
|
||||
_ZONE="$(curl -s "http://ip-api.com/csv/?fields=timezone")"
|
||||
_auto_clock | _dialog --no-mouse --gauge "Setting Timezone to ${_ZONE}..." 6 60 0
|
||||
_auto_clock | _dialog --title " Clock Configuration " --no-mouse --gauge "Setting Timezone to ${_ZONE}..." 6 60 0
|
||||
_SET_TIME="1"
|
||||
fi
|
||||
while [[ -z "${_SET_TIME}" ]]; do
|
||||
|
|
Loading…
Reference in a new issue