Skip to content

Instantly share code, notes, and snippets.

@ZiTAL
Last active December 31, 2024 08:37
Show Gist options
  • Select an option

  • Save ZiTAL/0b993770e9f8ed946fa052d7ffc054b0 to your computer and use it in GitHub Desktop.

Select an option

Save ZiTAL/0b993770e9f8ed946fa052d7ffc054b0 to your computer and use it in GitHub Desktop.
Vision Five 2: get firmware version
#!/bin/bash
cat /dev/mtd[012] | strings | grep -E "JH7110" | head -n 2 | tail -n 1 | grep -oE 'v[0-9]\.[0-9]+\.[0-9]+
@ZiTAL
Copy link
Copy Markdown
Author

ZiTAL commented Oct 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment