Hacked By AnonymousFox

Current Path : /usr/share/l.v.e-manager/cpanel/hooks/
Upload File :
Current File : //usr/share/l.v.e-manager/cpanel/hooks/cpanel-delete-unused-hooks

#!/bin/bash

. /opt/cloudlinux/venv/usr/share/python-cllib/scripts/cl-common

postwwwacct="/scripts/postwwwacct"
prekillacct="/scripts/prekillacct"
postkillacct="/scripts/postkillacct"
postmodifyacct="/scripts/postmodifyacct"
premodifyacct="/scripts/premodifyacct"

target="l.v.e-manager"
common_path="/usr/share/$target/cpanel/hooks"

# we should remove old and no longer used hooks
deleteAllInclude "$postwwwacct" "postwwwacct" "/#$target/d" "$common_path"
deleteAllInclude "$prekillacct" "prekillacct" "/#$target/d" "$common_path"
deleteAllInclude "$postkillacct" "postkillacct" "/#$target/d" "$common_path"
deleteAllInclude "$postmodifyacct" "postmodifyacct" "/#$target/d" "$common_path"
deleteAllInclude "$premodifyacct" "premodifyacct" "/#$target/d" "$common_path"

echo

Hacked By AnonymousFox1.0, Coded By AnonymousFox