#! /bin/sh # # ip-up script for WireGuard if [ "$PPP_IFACE" = "ppp0" ]; then logger -t ip-up "$PPP_IFACE up -> up WireGuard." (sleep 5 && wg-quick up wg0 && ping -c 10 10.100.0.1) & fi