HEX
Server: Apache
System: Linux hz.vslconceptsdomains.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: dkfounda (3233)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //var/lib/dpkg/info/imunify-ui-antivirus-cpanel.prerm
#!/bin/bash
# prerm script for imunify360-firewall-cpanel

set -e

case "$1" in
    purge|remove)
        if [ ! -e /usr/local/cpanel/cpanel ] ; then
            # No cPanel detected.
            exit 0
        fi

        /usr/share/av-userside-plugin.sh -r
        /usr/bin/imunify-antivirus --console-log-level=WARNING disable-plugin
    ;;

    upgrade)
    ;;

    failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
    ;;

esac

exit 0