parent
a166285504
commit
81a731eb5d
@ -15,6 +15,8 @@ SWAN_VER=3.17
|
||||
|
||||
### Do not edit below this line
|
||||
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
os_type="$(lsb_release -si 2>/dev/null)"
|
||||
if [ "$os_type" != "Ubuntu" ] && [ "$os_type" != "Debian" ]; then
|
||||
echo "This script only supports Ubuntu or Debian systems."
|
||||
|
@ -15,6 +15,8 @@ SWAN_VER=3.17
|
||||
|
||||
### Do not edit below this line
|
||||
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
if [ ! -f /etc/redhat-release ]; then
|
||||
echo "This script only supports CentOS or RHEL systems."
|
||||
exit 1
|
||||
|
@ -30,6 +30,8 @@ VPN_PASSWORD='your_very_secure_password'
|
||||
|
||||
# ------------------------------------------------------------
|
||||
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
echo 'DO NOT run this script on your Mac! It should only be used on a server.'
|
||||
exit 1
|
||||
|
@ -30,6 +30,8 @@ VPN_PASSWORD='your_very_secure_password'
|
||||
|
||||
# ------------------------------------------------------------
|
||||
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
echo 'DO NOT run this script on your Mac! It should only be used on a server.'
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user