easy-wg-quick
easy-wg-quick copied to clipboard
modularize a bit, stop generating clients on no args
Addresses some of the UX/safety concerns in https://github.com/burghardt/easy-wg-quick/issues/24 .
Your changes to default script behavior need to be reflected in unit tests. Therefore, I have merged PR implementing the handling of -h/--help as it had test coverage.
Seems you have a failure installing during unit test, from these causing a 404. http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly/meta.txz http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly/packages.txz
I assume from seeing https://pkg.freebsd.org/
This is because support only goes back to FreeBSD 12
In #105 I added a 10 second timeout after all *.txt
files were written but no output files were created.
[...]
No seqno.txt... creating one!
No portno.txt... creating one!
No wghub.key... creating one!
The default configuration is written to text files (*.txt).
If you want to check or change anything, press Ctrl+C for 10 seconds.