New commits:
commit 3f349db27c720a9b24c24f9d247610cc51cb6431
Author: Jeremy Blosser <jblosser AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
openvpn: update init script to handle a symlinked config dir
(cherry picked from commit b30b1b75f5f6b06ad501387455ce930fd05b22a7)
diff --git a/net/openvpn/HISTORY b/net/openvpn/HISTORY
index 0189941..1d3d260 100644
--- a/net/openvpn/HISTORY
+++ b/net/openvpn/HISTORY
@@ -1,3 +1,6 @@
+2015-09-30 Jeremy Blosser <jblosser-smgl AT firinn.org>
+ * init.d/openvpn: Handle $CONFDIR being a symlink
+
2014-12-02 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 2.3.6; SECURITY_PATCH++ (CVE-2014-8104)
diff --git a/net/openvpn/init.d/openvpn b/net/openvpn/init.d/openvpn
index f9db86e..02a6a1e 100755
--- a/net/openvpn/init.d/openvpn
+++ b/net/openvpn/init.d/openvpn
@@ -78,7 +78,7 @@ start()
mkdir -p $PIDDIR
fi
- CS="`find $CONFDIR -name "*.conf" 2>/dev/null`"
+ CS="`find $CONFDIR/ -name "*.conf" 2>/dev/null`"
if [ -z "$CS" ]; then
echo "Note: No OpenVPN configuration files were found in $CONFDIR"
else
[SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (3f349db27c720a9b24c24f9d247610cc51cb6431),
Vlad Glagolev, 12/24/2015