mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 15:06:29 +00:00
Update hassio-config
This commit is contained in:
parent
8747a4566d
commit
c6012da734
@ -3,6 +3,22 @@ set -e
|
|||||||
|
|
||||||
# Check if hassio-config is present
|
# Check if hassio-config is present
|
||||||
if ! findfs LABEL="hassio-config" > /dev/null; then
|
if ! findfs LABEL="hassio-config" > /dev/null; then
|
||||||
echo "[WARN] No hassio-config partition found."
|
echo "[Warning] No hassio-config partition found!"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Mount config partition
|
||||||
|
mount -o ro LABEL="hassio-config" /mnt/config
|
||||||
|
|
||||||
|
##
|
||||||
|
# NetworkManager
|
||||||
|
|
||||||
|
##
|
||||||
|
# SSH know hosts
|
||||||
|
|
||||||
|
##
|
||||||
|
# Firmware update
|
||||||
|
|
||||||
|
|
||||||
|
# Cleanup config partition
|
||||||
|
umount /mnt/config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user