use wgctrl lib instead of wrapping wg-tools

fixes: #3
This commit is contained in:
Leo Antunes
2019-07-12 11:08:14 +02:00
parent 3559fcf3b3
commit f4e61df211
10 changed files with 166 additions and 149 deletions

View File

@ -1,18 +0,0 @@
#!/bin/sh
case $1 in
'')
echo "nothing to see here"
;;
genkey)
echo "ILICZ3yBMCGAWNIq5Pn0bewBVimW3Q2yRVJ/Be+b1Uc="
;;
pubkey)
read x
echo "VceweY6x/QdGXEQ6frXrSd8CwUAInUmqIc6G/qi8FHo="
;;
*)
echo "what?"
exit 1
;;
esac

View File

@ -1,14 +0,0 @@
#!/bin/sh
case $1 in
up)
echo "up $2"
;;
pubkey)
echo "down $2"
;;
*)
echo "what?"
exit 1
;;
esac