This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import os | |
import subprocess | |
root = "." | |
try: | |
os.mkdir('compressed') | |
except FileExistsError: | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
fail() { | |
echo $1 1>&2 | |
exit $2 | |
} | |
[ $# -eq 2 ] || fail "Usage: `basename $0` fw.img /mount/point" 1 | |
[ `which bgrep` ] || fail "Please install bgrep tool." 2 | |
[ -r $1 ] || fail "Unable to locate image file: $1" 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unbuntu is no longer support by the Home Assistant project. | |
The installation commands previous listed here, are not up 2 date, not recommended, not supported and, therefore, removed. |