mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 23:16:31 +00:00
Update hassio-expand
This commit is contained in:
parent
15ddab54c7
commit
e65af2344c
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
DEVICE_CHILD=$(findfs NAME="hassio-data")
|
DEVICE_CHILD=$(findfs LABEL="hassio-data")
|
||||||
DEVICE_ROOT="/dev/$(lsblk -no pkname ${DEVICE_CHILD})"
|
DEVICE_ROOT="/dev/$(lsblk -no pkname ${DEVICE_CHILD})"
|
||||||
LAST_FREE_SECTOR=$(sgdisk -E ${DEVICE_ROOT})
|
LAST_FREE_SECTOR=$(sgdisk -E ${DEVICE_ROOT})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user