On failures wait for a keypress
This commit is contained in:
parent
a3581a4ead
commit
3c0200359a
|
@ -383,6 +383,7 @@ function install_postactiv_main {
|
||||||
chmod a+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/file
|
chmod a+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/file
|
||||||
chown -R www-data:www-data /var/www/$POSTACTIV_DOMAIN_NAME/htdocs
|
chown -R www-data:www-data /var/www/$POSTACTIV_DOMAIN_NAME/htdocs
|
||||||
chmod +x /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/maildaemon.php
|
chmod +x /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/maildaemon.php
|
||||||
|
chmod 777 /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/extlib/HTMLPurifier/HTMLPurifier/DefinitionCache/Serializer.php
|
||||||
|
|
||||||
function_check postactiv_create_database
|
function_check postactiv_create_database
|
||||||
postactiv_create_database
|
postactiv_create_database
|
||||||
|
|
|
@ -1973,7 +1973,11 @@ function menu_top_level {
|
||||||
4) show_firewall;;
|
4) show_firewall;;
|
||||||
5) reset_tripwire;;
|
5) reset_tripwire;;
|
||||||
6) menu_app_settings;;
|
6) menu_app_settings;;
|
||||||
7) ${PROJECT_NAME}-addremove;;
|
7) ${PROJECT_NAME}-addremove
|
||||||
|
if [ ! "$?" = "0" ]; then
|
||||||
|
any_key
|
||||||
|
fi
|
||||||
|
;;
|
||||||
8) logging_on_off;;
|
8) logging_on_off;;
|
||||||
9) ping_enable_disable;;
|
9) ping_enable_disable;;
|
||||||
10) menu_users;;
|
10) menu_users;;
|
||||||
|
|
Loading…
Reference in New Issue