- # Include CARNet functions
- . /usr/share/carnet-tools/functions.sh
-
- PKG="squirrelmail-change-pass-cn"
- SQCONFDIR="/etc/squirrelmail"
- SQCONF="$SQCONFDIR/config.php"
- CPCONF="/usr/share/squirrelmail/plugins/change_pass/config.php"
- need_restart=0
-
- # Remove CARNet configuration from /etc/hosts.allow and
- # /etc/hosts.deny.
- #
- if [ -f /etc/hosts.allow ]; then
- cp-update -r "$PKG" /etc/hosts.allow
- fi
- if [ -f /etc/hosts.deny ]; then
- cp-update -r "$PKG" /etc/hosts.deny
- fi