3 VERSION="$0 V 0.1 (C) 2001 Artur Frysiak"
11 if [ -f ${INIFILE} ]; then
12 echo "activating module '${MODNAME}.so' in ${INIFILE}" 1>&2
13 perl -pi -e "s|^;extension=${MODNAME}.so|extension=${MODNAME}.so|g" ${INIFILE}
15 if [ -f /var/lock/subsys/httpd ]; then
16 /etc/rc.d/init.d/httpd restart 1>&2
22 if [ -f ${INIFILE} ]; then
23 echo "deactivating module '${MODNAME}.so' in ${INIFILE}" 1>&2
24 perl -pi -e "s|^extension=${MODNAME}.so|;extension=${MODNAME}.so|g" $INIFILE
26 if [ -f /var/lock/subsys/httpd ]; then
27 /etc/rc.d/init.d/httpd restart 1>&2
35 echo " $0 install MODNAME INIFILE"
36 echo " $0 remove MODNAME INIFILE"
43 if [ "$1" = "install" ]; then
46 if [ "$1" = "remove" ]; then