Add recycle and audit hooks to menu system

Submitted by:	KLong@southlandInd.com
This commit is contained in:
David W. Chapman Jr. 2002-06-04 19:48:06 +00:00
parent 7c85d350aa
commit 8ce9b42709
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60616

View File

@ -13,7 +13,7 @@ if [ "${BATCH}" ]; then
else
/usr/bin/dialog --title "configuration options" --clear \
--checklist "\n\
Please select desired options:" -1 -1 9 \
Please select desired options:" -1 -1 10 \
syslog "With syslog support" OFF \
ssl "With ssl support" OFF \
ldap "With LDAP2 support" OFF \
@ -22,6 +22,8 @@ acl "With ACL support" OFF \
utmp "With UTMP support" OFF \
msdfs "With MSDFS support" OFF \
quota "With Quota support" OFF \
recycle "With Recycle Bin" OFF \
audit "With Audit" OFF \
2> $tempfile
retval=$?
@ -70,6 +72,12 @@ while [ "$1" ]; do
\"quota\")
echo "WITH_QUOTA=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
;;
\"recycle\")
echo "WITH_RECYCLE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
;;
\"audit\")
echo "WITH_AUDIT=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
;;
*)
echo "Invalid option: $1"
rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc