From 2a6422057e066a7dff1c2a4f250ecf52242008f4 Mon Sep 17 00:00:00 2001 From: Kcchouette Date: Fri, 24 Feb 2017 10:33:52 +0100 Subject: [PATCH] Remove the last $SYSCTL var This var was indeed removed with the commit https://github.com/Angristan/OpenVPN-install/pull/33/commits/f5ec9f3a17e4fbe6017845668fad2f543f83ee06 --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 6f54509..8e6d04f 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -350,8 +350,8 @@ status openvpn.log verb 3" >> /etc/openvpn/server.conf # Create the sysctl configuration file if needed (mainly for Arch Linux) - if [[ ! -e $SYSCTL ]]; then - touch $SYSCTL + if [[ ! -e /etc/sysctl.conf ]]; then + touch /etc/sysctl.conf fi # Enable net.ipv4.ip_forward for the system