From 6aaf6240c1d1374eef2ac23278b5ac861c2281aa Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Mon, 6 Jun 2016 12:00:59 -0500 Subject: [PATCH] Re-add support for 32-bit CentOS Refer to commit: 1cc1e89 --- extras/vpnupgrade_Libreswan_centos.sh | 5 ----- vpnsetup_centos.sh | 7 +------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/extras/vpnupgrade_Libreswan_centos.sh b/extras/vpnupgrade_Libreswan_centos.sh index 723b67e..6192a1a 100644 --- a/extras/vpnupgrade_Libreswan_centos.sh +++ b/extras/vpnupgrade_Libreswan_centos.sh @@ -27,11 +27,6 @@ if ! grep -qs -e "release 6" -e "release 7" /etc/redhat-release; then exit 1 fi -if [ "$(uname -m)" != "x86_64" ]; then - echo "This script only supports 64-bit CentOS/RHEL." - exit 1 -fi - if [ -f /proc/user_beancounters ]; then echo "This script does NOT support OpenVZ VPS." exit 1 diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index 5939553..acd4fcf 100755 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Script for automatic setup of an IPsec VPN server on 64-bit CentOS/RHEL 6 & 7. +# Script for automatic setup of an IPsec VPN server on CentOS/RHEL 6 & 7. # Works on dedicated servers and any KVM- or Xen-based Virtual Private Server (VPS). # # DO NOT RUN THIS SCRIPT ON YOUR PC OR MAC! THIS IS MEANT TO BE RUN @@ -47,11 +47,6 @@ if ! grep -qs -e "release 6" -e "release 7" /etc/redhat-release; then exit 1 fi -if [ "$(uname -m)" != "x86_64" ]; then - echo "This script only supports 64-bit CentOS/RHEL." - exit 1 -fi - if [ -f /proc/user_beancounters ]; then echo "This script does NOT support OpenVZ VPS." echo "Try alternative: https://github.com/Nyr/openvpn-install"