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
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