fix S_CONFIG clear

This commit is contained in:
Tobias Powalowski 2022-11-25 21:49:46 +01:00
parent 21b3361b71
commit d51103f962
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ configure_system() {
geteditor || return 1 geteditor || return 1
check_root_password || return 1 check_root_password || return 1
FILE="" FILE=""
S_CONFIG=""
# main menu loop # main menu loop
while true; do while true; do
if [[ -n "${FILE}" ]]; then if [[ -n "${FILE}" ]]; then

View file

@ -99,7 +99,7 @@ while [[ "${SET_TIME}" == "" ]]; do
if ping -c1 www.google.com >/dev/null 2>&1; then if ping -c1 www.google.com >/dev/null 2>&1; then
if DIALOG --yesno \ 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 "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 # 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