Browse Source

adding rocky linux support in install script

afeiszli 3 years ago
parent
commit
952616db89
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scripts/netclient-install.sh

+ 4 - 0
scripts/netclient-install.sh

@@ -25,6 +25,10 @@ elif [ -f /etc/fedora-release ]; then
 	dependencies="wireguard"
 	update_cmd='dnf update'
 	install_cmd='dnf install -y'
+elif [ -f /etc/redhat-release ]; then
+	dependencies="wireguard"
+	update_cmd='yum update'
+	install_cmd='yum install -y'
 elif [ -f /etc/arch-releae ]; then
     	dependecies="wireguard-tools"
 	update_cmd='pacman -Sy'