From d78afa762043e113df38fcb871f937ff52679998 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 26 Aug 2019 13:13:26 +0200 Subject: openvpn: T1548: fix indention on op-mode definition --- op-mode-definitions/openvpn.xml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/openvpn.xml b/op-mode-definitions/openvpn.xml index ac0c42789..2adbfba53 100644 --- a/op-mode-definitions/openvpn.xml +++ b/op-mode-definitions/openvpn.xml @@ -2,25 +2,25 @@ - - - OpenVPN key generation tool - - - - - Generate shared-secret key with specified file name - - <filename> - - - + + + OpenVPN key generation tool + + + + + Generate shared-secret key with specified file name + + <filename> + + + result=1; key_path=$4 full_path= # Prepend /config/auth if the path is not absolute - if echo $key_path | egrep -ve '^/.*' > /dev/null; then + if echo $key_path | egrep -ve '^/.*' > /dev/null; then full_path=/config/auth/$key_path else full_path=$key_path @@ -40,9 +40,9 @@ fi /usr/libexec/vyos/validators/file-exists --directory /config/auth "$full_path" - - - + + + @@ -59,7 +59,7 @@ - echo kill $4 | socat - UNIX-CONNECT:/tmp/openvpn-mgmt-intf > /dev/null + echo kill $4 | socat - UNIX-CONNECT:/tmp/openvpn-mgmt-intf > /dev/null -- cgit v1.2.3