mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
bsdinstall: restore --calendar
Restore --calendar to select a date because bsddialog(1) >= 0.4 provides a calendar dialog.
This commit is contained in:
parent
281a9715b5
commit
160ccec84c
|
@ -44,7 +44,7 @@ DATE=$(bsddialog --backtitle "$OSNAME Installer" \
|
|||
--cancel-label 'Skip' \
|
||||
--default-no \
|
||||
--date-format '%Y%m%d%H%M.%S' \
|
||||
--datebox '' 0 40 \
|
||||
--calendar '' 0 40 \
|
||||
2>&1 1>&5) && date $DATE
|
||||
exec 5>&-
|
||||
|
||||
|
|
Loading…
Reference in a new issue