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

6 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