|
|
--backtitle "Need a unique name for the zinstance directory.(Also the name of the rcscript.)" \ |
--backtitle "Need a uniqe name for zinstance directory.(Also the name of the rcscript.)" \ |
--inputbox "Enter a new zinstance name:" 0 0 ${DEFAULT_ZINSTANCENAME} ) |
--inputbox "Enter a new zinstance name:" 0 0 ${DEFAULT_ZINSTANCENAME} ) |
|
|
--backtitle "We need to create and/or assign a zinstance group name." \ |
--backtitle "Need to create/assign a zinstance group name." \ |
|
|
dialog --yesno "The group ${ZGID_NAME} already exists. Do you want to use it?" 0 0 |
dialog --yesno "${ZGID_NAME} already exists, use it?" 0 0 |
|
|
echo ">>> Create a Zope inituser for \"$(basename ${ZINST_DIR})\"..." |
echo ">>> Create Zope inituser for \"$(basename ${ZINST_DIR})\"..." |
|
|
echo "A Gentoo Zope instance configuration tool." |
echo "A Gentoo Zope Instance configure tool." |
|
|
zserv_dir_get || { echo 'Cancelled: zserv_dir_get' ; exit 1 ; } |
zserv_dir_get || { echo 'Canceled: zserv_dir_get' ; exit 1 ; } |
|
|
zinst_dir_set || { echo 'Cancelled: zinst_dir_set' ; exit 1 ; } |
zinst_dir_set || { echo 'Canceled: zinst_dir_set' ; exit 1 ; } |
|
|
zinst_zgid_set || { echo 'Cancelled: zinst_zgid_set' ; exit 1 ; } |
zinst_zgid_set || { echo 'Canceled: zinst_zgid_set' ; exit 1 ; } |
|
|
echo "Note: Don't forget to edit ZOPE_OPTS in ${CONFD}${ZIRC_NAME}" |
echo "Note: Don\'t forget to edit ZOPE_OPTS in ${CONFD}${ZIRC_NAME}" |
|
|
|
|