#!/bin/bash echo "Bringing network cards up..." for ETH in `seq 0 20`; do ifconfig eth$ETH up &>/dev/null done while true; do echo "Listening for heartbeats..." HEARTBEATS="`syndog all --cat|sort|uniq`" clear echo "[ Redundancy heartbeat and link monitoring ]" echo echo "Received heartbeats (showing all clusters): " echo "$HEARTBEATS" echo echo "Link status:" echo -e "eth:\tlink:\tcard:" linkbeep -l echo done