Update openvpn.init

This commit is contained in:
MarkusMcNugen 2018-02-04 00:00:08 -05:00 committed by GitHub
parent 6c292c6159
commit cfe0790933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ test -x $DAEMON || exit 0
test -d $CONFIG_DIR || exit 0 test -d $CONFIG_DIR || exit 0
# Source defaults file; edit that file to configure this script. # Source defaults file; edit that file to configure this script.
AUTOSTART="all" AUTOSTART=$(find /config/openvpn -maxdepth 1 -name "*.ovpn" -print -quit)
STATUSREFRESH=10 STATUSREFRESH=10
OMIT_SENDSIGS=0 OMIT_SENDSIGS=0
if test -e /etc/default/openvpn ; then if test -e /etc/default/openvpn ; then