Martin Toft wrote:
------------------------------------------------------------------------

#!/bin/ksh

PS_OUTPUT=`ps ax | grep '/usr/sbin/ftp-proxy' | grep -v grep`

if [ "$PS_OUTPUT" = "" ]; then
  echo -e 'This is the /root/ftp-proxy-fix script at gw.obelnet.dk.\n\n' \
  'ftp-proxy does NOT run at the moment! Since I am your friend, I will\n' \
  'start it for you now.\n\nHave a nice day.' | mail -s 'ftp-proxy-fix' \
  [EMAIL PROTECTED]
  /usr/sbin/ftp-proxy -a 130.225.243.84 -t 7200 -D 7
fi

------------------------------------------------------------------------

Heh, I _do_ realize that I didn't succeed in hiding all the details :-)

Guess I'm tired...

-Martin

Reply via email to