Skip to content

Commit

Permalink
Merge pull request #7 from keyakko/main
Browse files Browse the repository at this point in the history
Add exception for armv7l to select arm architecture
  • Loading branch information
adyanth authored Aug 14, 2021
2 parents 0897f11 + 85cbaf9 commit 78898b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr/bin/tailscale
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
arch=`uname -m`
if [ "$arch" == "mips" ]; then
endianness=`echo -n I | hexdump -o | awk '{ print (substr($2,6,1)=="1") ? "le" : ""; exit }'`
elif [ "$arch" == "armv7l" ]; then
arch=arm
fi

tailscale_version="1.8.5"
Expand Down
2 changes: 2 additions & 0 deletions usr/bin/tailscaled
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
arch=`uname -m`
if [ "$arch" == "mips" ]; then
endianness=`echo -n I | hexdump -o | awk '{ print (substr($2,6,1)=="1") ? "le" : ""; exit }'`
elif [ "$arch" == "armv7l" ]; then
arch=arm
fi

tailscale_version="1.8.5"
Expand Down

0 comments on commit 78898b2

Please sign in to comment.