5 ip link add dev
$ifname type wireguard
> /dev
/null
2>&1
7 # [ "$ifname" != "net0" ] && ln -sf net0.bin "${ifname}.bin"
9 ..
/unetd
-D $PWD -d -h $PWD/hosts
-N '{
10 "name": "'"$ifname"'",
12 "auth_key": "'"$(cat ./net0.pub)"'",
13 "key": "'"$(cat ./net0-${host}.key)"'",
14 "file": "'"$PWD/net0.json"'",
18 "update-cmd": "'"$PWD/../scripts/update-cmd.pl"'"