Make the new 'set date and time' dialog default to skip

X-MFC-With:	302790
Requested by:	nwhitehorn
This commit is contained in:
Allan Jude 2016-07-14 00:41:19 +00:00
parent 7d31c3939a
commit d4e5caaf7d

View File

@ -40,6 +40,7 @@ DATE=$(dialog --backtitle 'FreeBSD Installer' \
--title 'Time & Date' \
--ok-label 'Set Date' \
--cancel-label 'Skip' \
--defaultno \
--date-format '%Y%m%d%H%M.%S' \
--calendar '' 2 40 \
2>&1 1>&3) && date $DATE
@ -51,6 +52,7 @@ TIME=$(dialog --backtitle 'FreeBSD Installer' \
--title 'Time & Date' \
--ok-label 'Set Time' \
--cancel-label 'Skip' \
--defaultno \
--time-format '%H%M.%S' \
--timebox '' 2 40 \
2>&1 1>&3) && date $TIME