#------------------------------------------------------------------------- # /etc/rc.d/rc035.httpdconfig - read new values # was file /etc/rc.d/rc350.httpd # # Creation: 14.11.2000 tp # Last Update: $Id$ #------------------------------------------------------------------------- case $OPT_GUI_CONFIG in yes) begin_script HTTPD "reading additional configuration ..." CONF_FILE=$GUI_CONFIG_SAVEPATH/rc2.cfg # check isf there is an additional config file if [ -f $CONF_FILE ] then # WARNING: I don't know if this check works if [ /etc/rc.cfg -nt $CONF_FILE ] then log_error "Warning: your installation is newer than the additional configuration" fi read_config $CONF_FILE fi # copy additional files (perhaps we can check dates here, too), or create dir if not already there [ -d $GUI_CONFIG_SAVEPATH/files ] && cp -r $GUI_CONFIG_SAVEPATH/files/* / || mkdir -p $GUI_CONFIG_SAVEPATH/files set | grep -e GUI_CONFIG -e CONF_FILE > /var/run/guiconfig.conf end_script ;; esac