mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 15:06:29 +00:00
Update hostapps.sh
This commit is contained in:
parent
36e34607d0
commit
d69d7ce009
@ -1,2 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
DATA_IMG="/export/data.img"
|
||||||
|
|
||||||
|
# Make image
|
||||||
|
dd if=/dev/zero of=${DATA_IMG} bs=1M count=1024
|
||||||
|
mkfs.ext4 -E lazy_itable_init=0,lazy_journal_init=0 -i 8192 ${DATA_IMG}
|
||||||
|
|
||||||
|
# Mount / init file structs
|
||||||
|
mount -o loop ${DATA_IMG} /mnt
|
||||||
|
mkdir -p /mnt/docker
|
||||||
|
mkdir -p /mnt/supervisor
|
||||||
|
mkdir -p /mnt/cli
|
||||||
|
Loading…
x
Reference in New Issue
Block a user