Comment 111 for bug 2031537

Revision history for this message
Garry (garry0garry) wrote :

Availability check with reboot in case of driver failure.

sudo -i crontab -e
add
*/1 * * * * path/test_eth.sh

test_eth.sh:

#!/bin/bash
if ping -c 4 interface_IP >> /dev/null
  then exit 0
else
  /sbin/shutdown -r now
fi