Wireguard on a Router - never ending reboots after adding "watchdog" in Crontab

uci show | grep wireguard

ip link | grep "POINTOPOINT" | awk -F":" '{print $2}'


I made a mistake the command:

/etc/init.d/wireguard

does not exist ...

sorry ...

if wireguard interface = "wg0" then

ifdown wg0
sleep 20
ifup wg0

1 Like