Browse Source

remove x86_32
remove freebsd daemon as --deamon on is now valid for freebsd
updated openWRT daemon to use new paths and arguments
add support for arch installs

Matthew R. Kasun 3 years ago
parent
commit
abd1ad60dd
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/arch-releae ]; then
+    	dependecies="wireguard-tools"
+	update_cmd='pacman -Sy'
+	install_cmd='pacman -S --noconfirm'
 elif [ "${OS}" = "FreeBSD" ]; then
 	dependencies="wireguard"
 	update_cmd='pkg update'