3 VERSION="$0 V 0.3 (c) 2001 Artur Frysiak, (c) 2005 Elan Ruusamäe"
11 if [ -f ${INIFILE} ] && ! grep -q "^extension[[:space:]]*=[[:space:]]*${MODNAME}.so" ${INIFILE}; then
12 echo "activating module '${MODNAME}.so' in ${INIFILE}" 1>&2
13 echo "extension=${MODNAME}.so" >> ${INIFILE}
19 if [ -f ${INIFILE} ] && grep -q "^extension[[:space:]]*=[[:space:]]*${MODNAME}.so" ${INIFILE}; then
20 sed -i -e "/^extension[[:space:]]*=[[:space:]]*${MODNAME}.so/d" ${INIFILE}
28 echo " $0 install MODNAME INIFILE"
29 echo " $0 remove MODNAME INIFILE"
36 if [ "$1" = "install" ]; then
39 if [ "$1" = "remove" ]; then