vpn: fix chezmoi tpl
This commit is contained in:
parent
a5c73d5c8e
commit
130003e0ae
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ then
|
||||||
exec sudo "$(realpath "$0")" "$@"
|
exec sudo "$(realpath "$0")" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
openvpn --config <(sudo -u {{ .chezmoi.user }} {{ .chezmoi.config.gopass.command }} show metrans{{ .chezmoi.pathSeparator }}vpn tcp.ovpn) --askpass <(sudo -u {{ .chezmoi.user }} {{ .chezmoi.config.gopass.command }} show metrans{{ .chezmoi.pathSeparator }}vpn) &
|
openvpn --config <(sudo -u {{ .chezmoi.username }} {{ .chezmoi.config.gopass.command }} show metrans{{ .chezmoi.pathSeparator }}vpn tcp.ovpn) --askpass <(sudo -u {{ .chezmoi.username }} {{ .chezmoi.config.gopass.command }} show metrans{{ .chezmoi.pathSeparator }}vpn) &
|
||||||
ovpn=$?
|
ovpn=$?
|
||||||
set -v
|
set -v
|
||||||
until ip l show dev metrans &>{{ .chezmoi.pathSeparator }}dev{{ .chezmoi.pathSeparator }}null
|
until ip l show dev metrans &>{{ .chezmoi.pathSeparator }}dev{{ .chezmoi.pathSeparator }}null
|
||||||
|
|
Loading…
Add table
Reference in a new issue