mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-11-08 18:02:41 +01:00
Remove the archlinux part
that @Angristan had forgotten
This commit is contained in:
@@ -258,14 +258,6 @@ else
|
|||||||
yum install openvpn iptables openssl wget ca-certificates curl -y
|
yum install openvpn iptables openssl wget ca-certificates curl -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install dependencies
|
|
||||||
pacman -Syu openvpn iptables openssl wget ca-certificates curl --needed --noconfirm
|
|
||||||
if [[ "$OS" = 'arch' ]]; then
|
|
||||||
touch /etc/iptables/iptables.rules # iptables won't start if this file does not exist
|
|
||||||
systemctl enable iptables
|
|
||||||
systemctl start iptables
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
# Find out if the machine uses nogroup or nobody for the permissionless group
|
# Find out if the machine uses nogroup or nobody for the permissionless group
|
||||||
if grep -qs "^nogroup:" /etc/group; then
|
if grep -qs "^nogroup:" /etc/group; then
|
||||||
NOGROUP=nogroup
|
NOGROUP=nogroup
|
||||||
|
|||||||
Reference in New Issue
Block a user