Browse Source

[fix] Remove unavailable -i option

ljf 6 years ago
parent
commit
06e4572ea0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      smart-reboot.sh

+ 1 - 1
smart-reboot.sh

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