From 21d954167c97c6257b837012882f3c78551185d9 Mon Sep 17 00:00:00 2001 From: shelleycat485 <63857845+shelleycat485@users.noreply.github.com> Date: Tue, 5 May 2020 21:43:20 +0100 Subject: [PATCH] typo in openvpn --- scripts/openvpn/pivpn.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/openvpn/pivpn.sh b/scripts/openvpn/pivpn.sh index f461d7a..66ab5cc 100755 --- a/scripts/openvpn/pivpn.sh +++ b/scripts/openvpn/pivpn.sh @@ -10,29 +10,29 @@ if [[ ! $EUID -eq 0 ]];then fi fi -scriptdir="/opt/pivpn" +scriptDir="/opt/pivpn" vpn="openvpn" function makeOVPNFunc { shift - $SUDO ${scripdir}/${vpn}/makeOVPN.sh "$@" + $SUDO ${scriptDir}/${vpn}/makeOVPN.sh "$@" exit 0 } function listClientsFunc { shift - $SUDO ${scripdir}/${vpn}/clientStat.sh "$@" + $SUDO ${scriptDir}/${vpn}/clientStat.sh "$@" exit 0 } function listOVPNFunc { - $SUDO ${scripdir}/${vpn}/listOVPN.sh + $SUDO ${scriptDir}/${vpn}/listOVPN.sh exit 0 } function debugFunc { echo "::: Generating Debug Output" - $SUDO ${scripdir}/${vpn}/pivpnDebug.sh | tee /tmp/debug.txt + $SUDO ${scriptDir}/${vpn}/pivpnDebug.sh | tee /tmp/debug.txt echo "::: " echo "::: Debug output completed above." echo "::: Copy saved to /tmp/debug.txt" @@ -42,12 +42,12 @@ function debugFunc { function removeOVPNFunc { shift - $SUDO ${scripdir}/${vpn}/removeOVPN.sh "$@" + $SUDO ${scriptDir}/${vpn}/removeOVPN.sh "$@" exit 0 } function uninstallFunc { - $SUDO ${scripdir}/uninstall.sh + $SUDO ${scriptDir}/uninstall.sh exit 0 } @@ -58,7 +58,7 @@ function versionFunc { function update { shift - $SUDO ${scripdir}/update.sh "$@" + $SUDO ${scriptDir}/update.sh "$@" exit 0 @@ -66,7 +66,7 @@ function update { function backup { - $SUDO ${scripdir}/backup.sh + $SUDO ${scriptDir}/backup.sh exit 0 }