Mini Shell
Direktori : /opt/sharedrads/ |
|
Current File : //opt/sharedrads/killall911 |
#!/bin/bash
# Shared RADS Tools, written by Erik Soroka (eriks@imhadmin.net, ext 834)
# This script is for emergency circumstances where we are about to lose control of the server
echo
#load functions + banners
source /opt/sharedrads/radsfunctions.sh
smradsbanner
echo
echo " dropping killalls..."
echo
for SERVICE in php httpd imapd dovecot couriertls authProg authdaemond exim perl-bin pop3d cp rm rsync tar gzip tar mv ; do
killall -9 $SERVICE 1>/dev/null 2>/dev/null &
echo " * killed: $SERVICE "
done
echo
#EOF
Zerion Mini Shell 1.0