blob: 9c10aa0a90a8b55236810acb1254cbcbf9f2c498 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
# `man NetworkManager-dispatcher`
if [ "$1" = wg_ba ]; then
case "$2" in
# my test shows only pre-down will be emitted, vpn-pre-down and down will not be emitted here
pre-down) systemctl stop monerod@xyz;;
esac
fi
|