1
0
Fork 0
mirror of https://github.com/pivpn/pivpn.git synced 2024-12-23 13:20:16 +00:00

typo in openvpn

This commit is contained in:
shelleycat485 2020-05-05 21:43:20 +01:00
parent 9351016db5
commit 21d954167c

View file

@ -10,29 +10,29 @@ if [[ ! $EUID -eq 0 ]];then
fi fi
fi fi
scriptdir="/opt/pivpn" scriptDir="/opt/pivpn"
vpn="openvpn" vpn="openvpn"
function makeOVPNFunc { function makeOVPNFunc {
shift shift
$SUDO ${scripdir}/${vpn}/makeOVPN.sh "$@" $SUDO ${scriptDir}/${vpn}/makeOVPN.sh "$@"
exit 0 exit 0
} }
function listClientsFunc { function listClientsFunc {
shift shift
$SUDO ${scripdir}/${vpn}/clientStat.sh "$@" $SUDO ${scriptDir}/${vpn}/clientStat.sh "$@"
exit 0 exit 0
} }
function listOVPNFunc { function listOVPNFunc {
$SUDO ${scripdir}/${vpn}/listOVPN.sh $SUDO ${scriptDir}/${vpn}/listOVPN.sh
exit 0 exit 0
} }
function debugFunc { function debugFunc {
echo "::: Generating Debug Output" echo "::: Generating Debug Output"
$SUDO ${scripdir}/${vpn}/pivpnDebug.sh | tee /tmp/debug.txt $SUDO ${scriptDir}/${vpn}/pivpnDebug.sh | tee /tmp/debug.txt
echo "::: " echo "::: "
echo "::: Debug output completed above." echo "::: Debug output completed above."
echo "::: Copy saved to /tmp/debug.txt" echo "::: Copy saved to /tmp/debug.txt"
@ -42,12 +42,12 @@ function debugFunc {
function removeOVPNFunc { function removeOVPNFunc {
shift shift
$SUDO ${scripdir}/${vpn}/removeOVPN.sh "$@" $SUDO ${scriptDir}/${vpn}/removeOVPN.sh "$@"
exit 0 exit 0
} }
function uninstallFunc { function uninstallFunc {
$SUDO ${scripdir}/uninstall.sh $SUDO ${scriptDir}/uninstall.sh
exit 0 exit 0
} }
@ -58,7 +58,7 @@ function versionFunc {
function update { function update {
shift shift
$SUDO ${scripdir}/update.sh "$@" $SUDO ${scriptDir}/update.sh "$@"
exit 0 exit 0
@ -66,7 +66,7 @@ function update {
function backup { function backup {
$SUDO ${scripdir}/backup.sh $SUDO ${scriptDir}/backup.sh
exit 0 exit 0
} }