dotfiles/.local/bin/scripts/wg-reload
2024-06-28 22:34:05 +03:00

5 lines
144 B
Bash
Executable file

#!/bin/bash -x
# wg-quick reload interface
# needs to be run with superuser permissions
wg syncconf "$@" <(wg-quick strip "$@") ||
ip -br a