瀏覽代碼

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 年之前
父節點
當前提交
abd1ad60dd
共有 1 個文件被更改,包括 4 次插入0 次删除
  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'