|
@@ -7,7 +7,7 @@ IP=89.234.141.73
|
|
# https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot_of_a_router
|
|
# https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot_of_a_router
|
|
sleep 70
|
|
sleep 70
|
|
if [ -e $FLAG ]; then
|
|
if [ -e $FLAG ]; then
|
|
- if ping -c10 -i3 -q $IP > /dev/null ; then
|
|
|
|
|
|
+ if ping -c10 -q $IP > /dev/null ; then
|
|
rm -f $FLAG
|
|
rm -f $FLAG
|
|
elif [ "$(date +%M)" = "42" ]; then
|
|
elif [ "$(date +%M)" = "42" ]; then
|
|
touch $FLAG
|
|
touch $FLAG
|