From eb95b166e7fe0fdfb1774e0f35b4ab22f03b0440 Mon Sep 17 00:00:00 2001 From: Ilario Gelmetti Date: Wed, 18 Dec 2024 22:15:29 +0100 Subject: [PATCH] watchping increase wait time for interface to get up --- packages/watchping/files/etc/init.d/watchping | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/watchping/files/etc/init.d/watchping b/packages/watchping/files/etc/init.d/watchping index d23fb9c8b..feaef6cd2 100755 --- a/packages/watchping/files/etc/init.d/watchping +++ b/packages/watchping/files/etc/init.d/watchping @@ -37,8 +37,8 @@ load_watchping() { ifname="$(uci_get_state network "$interface" ifname)" [ -z "$ifname" ] && { - logger -p user.info -t "watchping" "interface $interface does not exist (yet?) waiting 10 seconds to try again" - sleep 10 + logger -p user.info -t "watchping" "interface $interface does not exist (yet?) waiting 30 seconds to try again" + sleep 30 ifname="$(uci_get_state network "$interface" ifname)" [ -z "$ifname" ] && { logger -p user.info -t "watchping" "interface $interface does not exist in openwrt but continuing..."