Re-add support for 32-bit CentOS
Refer to commit: 1cc1e89
This commit is contained in:
parent
6643a8cd87
commit
6aaf6240c1
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user