Skip to content

Commit

Permalink
Correct Remarkable device id
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Oct 30, 2020
1 parent 6372e07 commit 950812d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shell/.config/fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,18 @@ function remarkable
return
end

ip addr show up to 10.11.99.0/29 | grep enp0s20f0u2c2 >/dev/null
ip addr show up to 10.11.99.0/29 | grep enp2s0f0u3 >/dev/null
if test $status -ne 0
# not yet connected
echo "Connecting to reMarkable internal network"
sudo dhcpcd enp0s20f0u2c2
sudo dhcpcd enp2s0f0u3
end
for f in $argv
echo "-> uploading $f"
curl --form "file=@\""$f"\"" http://10.11.99.1/upload
echo
end
sudo dhcpcd -k enp2s0f0u3
end

# Type - to move up to top parent dir which is a repository
Expand Down

0 comments on commit 950812d

Please sign in to comment.