From a8bfe6abb693150e9ee01ea6e8d672fc074d1f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Sep 2018 00:19:18 +0200 Subject: New multiconfig design --- openvpn | 15 +++++++++++++++ openvpn/multiconfig.sh | 0 2 files changed, 15 insertions(+) create mode 100755 openvpn delete mode 100644 openvpn/multiconfig.sh (limited to 'openvpn') diff --git a/openvpn b/openvpn new file mode 100755 index 0000000..8894c96 --- /dev/null +++ b/openvpn @@ -0,0 +1,15 @@ +#!/bin/sh +MC_DESCRIPTION="OpenVPN configuration." +. "$(dirname "$(readlink -f "$0")")/common" || exit + +inst conf /etc/openvpn/myvpn.conf +vpn_restart=$change + +if [ "$(remote_source is_server)" = "y" ]; then + # TODO pull ccd directory + true +fi + +apply ############################################################################ + + diff --git a/openvpn/multiconfig.sh b/openvpn/multiconfig.sh deleted file mode 100644 index e69de29..0000000 -- cgit v1.2.3