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