#!/bin/sh

ping -i 5 -W 10 -c 1 mc.starsoftcomm.com 1>/dev/null 2>&1

if [ $? -eq 0 ]; then
	echo "网络已经联通"
else
	echo "网路断开"
fi
