diff options
Diffstat (limited to 'src/core/libs/lib-ui-interactive.sh')
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 875eb14..4be0625 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -154,7 +154,8 @@ interactive_time () { "return" "Looks good. back to main menu" "${EXTRA[@]}" "manual" "Set time and date manually" || return 1 if [ "$ANSWER_OPTION" = ntp ] then - if ntpdate pool.ntp.org >/dev/null + infofy "Syncing clock with internet pool ..." + if ntpdate pool.ntp.org >/dev/null then notify "Synced clock with internet pool successfully." dohwclock $HARDWARECLOCK systohc && NEXTITEM=3 @@ -164,7 +165,7 @@ interactive_time () { fi if [ "$ANSWER_OPTION" = manual ] then - ask_datetime + ask_datetime || continue if date -s "$ANSWER_DATETIME" then dohwclock $HARDWARECLOCK systohc && NEXTITEM=3 |