summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-14 18:24:54 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-14 18:24:54 +0200
commitb4629d14d8ec5c780f665222205a396eb4dc3158 (patch)
treeefbdad6254572e7a9c0169d3761441fae35e26e4 /op-mode-definitions
parentf96435277e4c2b1e305f10f39206e281693f6232 (diff)
downloadvyos-1x-b4629d14d8ec5c780f665222205a396eb4dc3158.tar.gz
vyos-1x-b4629d14d8ec5c780f665222205a396eb4dc3158.zip
op-mode: vpn: use over absolute path
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/vpn-ipsec.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in
index 18b72b87c..3d997c143 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -184,7 +184,7 @@
<command>if pgrep charon >/dev/null ; then sudo /usr/sbin/ipsec statusall ; else echo "IPSec process not running" ; fi</command>
</node>
</children>
- <command>if pgrep charon >/dev/null ; then sudo /usr/libexec/vyos/op_mode/show_ipsec_sa.py ; else echo "IPSec process not running" ; fi</command>
+ <command>if pgrep charon >/dev/null ; then sudo ${vyos_op_scripts_dir}/show_ipsec_sa.py ; else echo "IPSec process not running" ; fi</command>
</node>
<node name="state">
<properties>