mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix S_CONFIG clear
This commit is contained in:
parent
21b3361b71
commit
d51103f962
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ configure_system() {
|
|||
geteditor || return 1
|
||||
check_root_password || return 1
|
||||
FILE=""
|
||||
|
||||
S_CONFIG=""
|
||||
# main menu loop
|
||||
while true; do
|
||||
if [[ -n "${FILE}" ]]; then
|
||||
|
|
|
@ -99,7 +99,7 @@ while [[ "${SET_TIME}" == "" ]]; do
|
|||
if ping -c1 www.google.com >/dev/null 2>&1; then
|
||||
if DIALOG --yesno \
|
||||
"Do you want to use the Network Time Protocol (NTP) for syncing your clock, by using the internet clock pool?" 6 60; then
|
||||
DIALOG --infobox "Syncing clock with NTP pool ..." 3 50
|
||||
DIALOG --infobox "Syncing clock with NTP pool ..." 3 45
|
||||
# sync immediatly with standard pool
|
||||
if [[ ! $(ntpdate pool.ntp.org) ]]; then
|
||||
DIALOG --msgbox "An error has occured, time was not changed!" 0 0
|
||||
|
|
Loading…
Reference in a new issue