From c8e0fec5432cfb3dfe751f5b20e2bc6a35ffbe69 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sun, 4 Feb 2018 00:18:17 -0500 Subject: [PATCH] Update openvpn.init --- openvpn/openvpn.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn/openvpn.init b/openvpn/openvpn.init index 9a344b5..06c79f3 100644 --- a/openvpn/openvpn.init +++ b/openvpn/openvpn.init @@ -31,7 +31,7 @@ test -x $DAEMON || exit 0 test -d $CONFIG_DIR || exit 0 # Source defaults file; edit that file to configure this script. -AUTOSTART=$(find /config/openvpn -maxdepth 1 -name "*.ovpn" -print -quit) +AUTOSTART=$(find /config/openvpn -maxdepth 1 -name "*.ovpn" -printf "%f\n" -quit) STATUSREFRESH=10 OMIT_SENDSIGS=0 if test -e /etc/default/openvpn ; then