Update file run_onchange_after_24-vpn-darwin.tmpl
This commit is contained in:
parent
32296a7974
commit
debabab34d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ if [ ! -d /etc/wireguard ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Add the WireGuard configurations
|
### Add the WireGuard configurations
|
||||||
find "${XDG_CONFIG_HOME:-$HOME/.config}" -type f -name "*.conf" | while read WG_CONF; do
|
find "${XDG_CONFIG_HOME:-$HOME/.config}/vpn" -mindepth 1 -maxdepth 1 -type f -name "*.conf" | while read WG_CONF; do
|
||||||
WG_FILE="$(basename "$WG_CONF")"
|
WG_FILE="$(basename "$WG_CONF")"
|
||||||
logg info 'Adding `'"$WG_FILE"'` to /etc/wireguard'
|
logg info 'Adding `'"$WG_FILE"'` to /etc/wireguard'
|
||||||
sudo cp -f "$WG_CONF" "/etc/wireguard/$WG_FILE"
|
sudo cp -f "$WG_CONF" "/etc/wireguard/$WG_FILE"
|
||||||
|
|
Loading…
Reference in a new issue