You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was having trouble running writeimage.sh on Fedora25, I was getting a few errors and I'm not sure if I'm doing something wrong or what.
sudo ./writeimage.sh -d /dev/sdb1 -i "motioneyeos-raspberrypi-20170710.img.gz" -n 'secret:secret'
[sudo] password for choscura:
:: decompressing the gzipped image
./writeimage.sh: line 83: motioneyeos-raspberrypi-20170710.img: Is a directory
Hi,
I am running OSX 10.12.3, and when I run the 'writeimage.sh' script I get the error:
:: decompressing the gzipped image
./writeimage.sh: line 83: -3: substring expression < 0
After some research it appears that the bash version on OSX doesnt support negative string indexing. The solution is below:
Thanks
The text was updated successfully, but these errors were encountered: