summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-09-08 21:34:34 +0300
committerGitHub <noreply@github.com>2023-09-08 21:34:34 +0300
commit540939473421b84644c58fefc2200735b7e79c99 (patch)
tree1fdc544e8c512453cb1ca9e343cca49dac94f5a9 /op-mode-definitions
parent5e47f1aaea444354da5766c9ac36986eac7fb198 (diff)
parent7cb85a8b49708f5e7b50f5dc8e0414b6a3a0736f (diff)
downloadvyos-1x-540939473421b84644c58fefc2200735b7e79c99.tar.gz
vyos-1x-540939473421b84644c58fefc2200735b7e79c99.zip
Merge pull request #2226 from sever-sever/T5423-sag
T5423: Fix for op-mode show vpn ike secrets
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 c7ba780a3..b551af2be 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -177,7 +177,7 @@
<properties>
<help>Show all the pre-shared key secrets</help>
</properties>
- <command>sudo cat /etc/ipsec.secrets | sed 's/#.*//'</command>
+ <command>${vyos_op_scripts_dir}/ipsec.py show_psk</command>
</node>
<node name="status">
<properties>