dotfiles/.local/bin/scripts/wg-reload

6 lines
144 B
Plaintext
Raw Normal View History

2024-06-28 19:34:05 +00:00
#!/bin/bash -x
2024-02-20 18:54:51 +00:00
# wg-quick reload interface
2024-06-28 19:34:05 +00:00
# needs to be run with superuser permissions
wg syncconf "$@" <(wg-quick strip "$@") ||
ip -br a