Parcourir la source

[fix] Remove unavailable -i option

ljf il y a 6 ans
Parent
commit
06e4572ea0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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