Skip to content

Commit

Permalink
Merge pull request #1403 from Fourdee/ntp_enhancements
Browse files Browse the repository at this point in the history
DietPi-Config | Minor NTP enhancements
  • Loading branch information
Fourdee authored Jan 18, 2018
2 parents 32df927 + 29e5a4d commit 2d36f49
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 2d36f49

Please sign in to comment.