Random Project

I get the script working but

The script workt great after i made some modification. the wrote left out the host part.

so i changed answer= to
answer=`$mysqlpath/mysql -u $user -p$pass -h $host -e ‘show slave statusG’ | /bin/grep Slave_IO_Running | /usr/bin/cut -f2 -d:`