From 16d3245404aa657224f2a492e0be17000d1823e1 Mon Sep 17 00:00:00 2001 From: Mayank Chhabra Date: Thu, 13 Aug 2020 10:54:36 +0530 Subject: [PATCH] Check /sd-root has been bind mounted (#132) --- scripts/umbrel-os/external-storage/mount | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/umbrel-os/external-storage/mount b/scripts/umbrel-os/external-storage/mount index cd068dc..b000817 100755 --- a/scripts/umbrel-os/external-storage/mount +++ b/scripts/umbrel-os/external-storage/mount @@ -146,6 +146,9 @@ main () { sleep 1 df -h "${UMBREL_ROOT}" | grep --quiet '/dev/sd' + echo "Checking SD Card root is bind mounted at /sd-root..." + df -h "/sd-root${UMBREL_ROOT}" | grep --quiet "/dev/root" + echo "Mount script completed successfully!" }