Great!
It would even be easier to get the DISK_ID directly in the script, at its beginning (but after the check about being root):
DISK_ID
DISK_ID=$(sfdisk --disk-id /dev/mmcblk0)
Great!
It would even be easier to get the
DISK_ID
directly in the script, at its beginning (but after the check about being root):