ports/main/nnd-s6-services/rc/interface.wg-tunnel.create/up

8 lines
129 B
Plaintext

#!/bin/execlineb -P
define INTERFACE wg-tunnel
s6-envdir -i /etc/s6/env/path
emptyenv -p
ip link add $INTERFACE type wireguard