#!/bin/bash
# afrihost - script to reset all systems which could be possibly blocking an IP

# cpanel check
if ! [ -f "/usr/local/cpanel/cpanel" ]; then
       echo "No cpanel"
       exit
fi

ps auwfx| grep cPhulk  | awk '{print $2}' | xargs -i kill -9 {}
