#!/bin/bash

sysconfig_apache=/etc/sysconfig/apache2

if [ -z "$APACHE_MODULES" ]; then 
	#
	# load the configuration
	#
	if [ -s $sysconfig_apache ]; then 
		. $sysconfig_apache
	else
		# backwards compatibility (pre 8.0)
		# Source SuSE config
		. /etc/rc.config
		sysconfig_apache=/etc/rc.config.d/$pname.rc.config
		test -s $sysconfig_apache && . $sysconfig_apache
	fi
fi

