#!/usr/bin/bash

VC_PLUGIN_DIR=/var/cpanel/plugins/monitoring
PLUGINS_RESOURCES_DIR=/usr/local/cpanel/whostmgr/docroot/addon_plugins

# Remove plugin files.
/bin/rm -f $PLUGINS_RESOURCES_DIR/whm-360-monitoring.svg

# Unregister the plugin from AppConfig.
/usr/local/cpanel/bin/unregister_appconfig $VC_PLUGIN_DIR/whm-360-monitoring.conf
