. /usr/share/carnet-tools/functions.sh
PKG="squirrelmail-change-pass-cn"
+ SQCONFDIR="/etc/squirrelmail"
+ SQCONF="$SQCONFDIR/config.php"
need_restart=0
# Remove CARNet configuration from /etc/hosts.allow and
# Remove SquirrelMail change_pass plugin from SquirrelMail
# configuration.
#
- SQCONF=/etc/squirrelmail/config.php
-
if egrep -q '^\$plugins\[[0-9]+\][\ ]*=[\ ]*'\''change_pass'\' "$SQCONF"; then
- cp_echo "CN: Disabling SquirrelMail change_pass plugin in $SQCONF"
/usr/sbin/squirrelmail-configure --remove-plugin change_pass
fi
;;
esac
+#DEBHELPER#
+
exit 0