Browse Source

Fix netclient install on ARMv6

`uname -m` gives `armv6l` on e.g. raspberry PI zero. This was resulting in the switch defaulting to
`https://github.com/gravitl/netmaker/releases/download/0.9.3/netclient-armv6l` instead of 
`https://github.com/gravitl/netmaker/releases/download/0.9.3/netclient-armv6`
and a 404.
ethanfowler 3 years ago
parent
commit
b60c6a8d61
1 changed files with 3 additions and 0 deletions
  1. 3 0
      scripts/netclient-install.sh

+ 3 - 0
scripts/netclient-install.sh

@@ -127,6 +127,9 @@ case $(uname | tr '[:upper:]' '[:lower:]') in
 			aarch64)
                                 dist=netclient-arm64
 			;;
+			armv6l)
+                                dist=netclient-arm6
+			;;
 			armv7l)
                                 dist=netclient-arm7
 			;;