mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-20 03:40:17 +00:00
Merge pull request #851 from IcedComputer/patch-4
Check if -i iOS can be used
This commit is contained in:
commit
f85086ebfb
1 changed files with 7 additions and 1 deletions
|
@ -70,7 +70,13 @@ do
|
||||||
DAYS="$_val"
|
DAYS="$_val"
|
||||||
;;
|
;;
|
||||||
-i|--iOS)
|
-i|--iOS)
|
||||||
|
OVPN12_Compatible=$(cat /etc/pivpn/OVPN12_Compatible)
|
||||||
|
if [[ ${OVPN12_Compatible} == "true" ]]; then
|
||||||
iOS=1
|
iOS=1
|
||||||
|
else
|
||||||
|
echo "This function is not compatable with OVPN 2.4"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
-h|--help)
|
-h|--help)
|
||||||
helpFunc
|
helpFunc
|
||||||
|
|
Loading…
Reference in a new issue