#!/bin/bash
if /bin/ping -c 1 -w 4 114.114.114.114 >/dev/null 2>&1 ; then
echo yes
else
echo no!
/usr/bin/poff
/usr/bin/sleep 5s
/usr/bin/pon dsl-provider
fi
Thank you for using 苹果树. | 粤ICP备18042975号-1