Skip to content

Commit

Permalink
v6.0
Browse files Browse the repository at this point in the history
DietPi-Config | Minor NTP enhancements
  • Loading branch information
MichaIng authored Jan 18, 2018
1 parent 2f0b0c1 commit 29e5a4d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dietpi/dietpi-config
Original file line number Diff line number Diff line change
Expand Up @@ -5056,12 +5056,13 @@ Custom : Write = $CUSTOM_WRITE | Read = $CUSTOM_READ\
whiptail_menu_array+=('debian.pool.ntp.org' 'Debian Global')
whiptail_menu_array+=('pool.ntp.org' 'Global')
whiptail_menu_array+=('europe.pool.ntp.org' 'Europe')
whiptail_menu_array+=('north-america.pool.ntp.org' 'US North')
whiptail_menu_array+=('south-america.pool.ntp.org' 'US South')
whiptail_menu_array+=('oceania.pool.ntp.org' 'Oceania')
whiptail_menu_array+=('north-america.pool.ntp.org' 'North America')
whiptail_menu_array+=('south-america.pool.ntp.org' 'South America')
whiptail_menu_array+=('africa.pool.ntp.org' 'Africa')
whiptail_menu_array+=('asia.pool.ntp.org' 'Asia')
whiptail_menu_array+=('oceania.pool.ntp.org' 'Oceania')

OPTION=$(whiptail --title "Choose NTPD Mirror" --menu "Please select a NTPD mirror, or choose custom for manual entry." --default-item "$ntpd_mirror_current" --cancel-button "$TEXT_MENU_BACK" --backtitle "$WHIP_BACKTITLE" 15 100 7 "${whiptail_menu_array[@]}" 3>&1 1>&2 2>&3)
OPTION=$(whiptail --title "Choose NTPD Mirror" --menu "Please select a NTPD mirror, or choose custom for manual entry.\n - Further information: \"http://www.pool.ntp.org/zone/@\"" --default-item "$ntpd_mirror_current" --cancel-button "$TEXT_MENU_BACK" --backtitle "$WHIP_BACKTITLE" 16 100 7 "${whiptail_menu_array[@]}" 3>&1 1>&2 2>&3)
CHOICE=$?
if (( $CHOICE == 0 )); then

Expand Down

0 comments on commit 29e5a4d

Please sign in to comment.