fix script
This commit is contained in:
parent
eead781451
commit
1ca4a74939
2 changed files with 15 additions and 6 deletions
|
@ -2,16 +2,25 @@
|
|||
|
||||
That is only if you want run HassIO on a generic system without our yocto images.
|
||||
|
||||
## Requrements
|
||||
|
||||
```
|
||||
bash
|
||||
socat
|
||||
jq
|
||||
curl
|
||||
```
|
||||
|
||||
## Run
|
||||
|
||||
Run as root:
|
||||
```bash
|
||||
curl -sL | bash -
|
||||
curl -sL https://raw.githubusercontent.com/pvizeli/hassio-build/master/install/hassio_install | bash -
|
||||
```
|
||||
|
||||
On a special platform they need set a machine type use:
|
||||
```bash
|
||||
curl -sL | bash - -m MY_MACHINE
|
||||
curl -sL https://raw.githubusercontent.com/pvizeli/hassio-build/master/install/hassio_install | bash - -m MY_MACHINE
|
||||
```
|
||||
|
||||
## HomeAssistant docker images
|
||||
|
|
|
@ -13,10 +13,10 @@ BIN_DIR=/usr/bin
|
|||
DATA_SHARE=/usr/share/hassio
|
||||
|
||||
# Check env
|
||||
command -v docker > /dev/null 2>&1 || echo "[ERROR] Please install docker first" && exit 1
|
||||
command -v jq > /dev/null 2>&1 || echo "[ERROR] Please install jq first" && exit 1
|
||||
command -v socat > /dev/null 2>&1 || echo "[ERROR] Please install socat first" && exit 1
|
||||
command -v curl > /dev/null 2>&1 || echo "[ERROR] Please install curl first" && exit 1
|
||||
command -v docker > /dev/null 2>&1 || { echo "[ERROR] Please install docker first"; exit 1; }
|
||||
command -v jq > /dev/null 2>&1 || { echo "[ERROR] Please install jq first"; exit 1; }
|
||||
command -v socat > /dev/null 2>&1 || { echo "[ERROR] Please install socat first"; exit 1; }
|
||||
command -v curl > /dev/null 2>&1 || { echo "[ERROR] Please install curl first"; exit 1; }
|
||||
|
||||
# Check system options
|
||||
if [ command -v systemctl > /dev/null 2>&1 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue