mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
reformat box
This commit is contained in:
parent
cd06d15b6d
commit
27b1a6df3a
1 changed files with 2 additions and 1 deletions
|
@ -88,7 +88,8 @@ fi
|
||||||
while [[ "${SET_TIME}" == "" ]]; do
|
while [[ "${SET_TIME}" == "" ]]; do
|
||||||
DIALOG --yesno "Do you want to use UTC for your clock?\n\nIf you choose 'YES' UTC (recommended default) is used,\nwhich ensures daylightsaving is set automatically.\n\nIf you choose 'NO' Localtime is used, which means\nthe system will not change the time automatically.\nLocaltime is also prefered on dualboot machines,\nwhich also run Windows, because UTC may confuse it." 15 65 && HARDWARECLOCK="UTC"
|
DIALOG --yesno "Do you want to use UTC for your clock?\n\nIf you choose 'YES' UTC (recommended default) is used,\nwhich ensures daylightsaving is set automatically.\n\nIf you choose 'NO' Localtime is used, which means\nthe system will not change the time automatically.\nLocaltime is also prefered on dualboot machines,\nwhich also run Windows, because UTC may confuse it." 15 65 && HARDWARECLOCK="UTC"
|
||||||
if DIALOG --yesno \
|
if DIALOG --yesno \
|
||||||
"Do you want to use the Network Time Protocol for syncing your clock,\nby using the internet clock pool?\n(You need a working internet connection for doing this!)" 0 0; then
|
"Do you want to use the Network Time Protocol for syncing your clock,\nby using the internet clock pool?\n(You need a working internet connection for doing this!)" 6 60; then
|
||||||
|
DIALOG --infobox "Syncing clock with internet clock pool..." 6 60
|
||||||
# sync immediatly with standard pool
|
# sync immediatly with standard pool
|
||||||
if [[ ! $(ntpdate pool.ntp.org) ]]; then
|
if [[ ! $(ntpdate pool.ntp.org) ]]; then
|
||||||
DIALOG --msgbox "An error has occured, time was not changed!" 0 0
|
DIALOG --msgbox "An error has occured, time was not changed!" 0 0
|
||||||
|
|
Loading…
Reference in a new issue