#! /bin/sh #---------------------------------------------------------------------------- # /var/install/include/apache2-add-config - Apache2 # # Copyright (c) 2009-2013 the eisfair team, team(at)eisfair(dot)org # # Creation: ??.??.200? ?? # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- . /var/install/include/eislib clrhome clrhome mecho --info "Edit Apache2 configuration" echo configfile='/usr/local/apache2/conf/AddParams.conf' joe $configfile if /var/install/bin/ask "Activate Apache2 configuration now" then echo "Creating Apache2 configuration ..." sh /var/install/config.d/apache2.sh norestart . /etc/config.d/apache2 if [ "$START_APACHE2" = "yes" ] then /etc/init.d/apache2 stop /etc/init.d/apache2 start else mecho --warn "Not (re)starting Apache2, set START_APACHE2='yes'" fi fi /var/install/bin/anykey