From a9d270eddc062c336c40e1ef8e2c732986222673 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 15 Dec 2019 11:03:01 +0100 Subject: Removed some hard-coding. --- util/unmount_filesystems.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util/unmount_filesystems.sh') diff --git a/util/unmount_filesystems.sh b/util/unmount_filesystems.sh index 95d7101..770a5e7 100644 --- a/util/unmount_filesystems.sh +++ b/util/unmount_filesystems.sh @@ -18,5 +18,9 @@ # along with this program. If not, see . +root_partition_path=$1 # e.g. /dev/sda2 + + cd /root && umount $root_partition_path + echo "Unmounted filesystems - OK" -- cgit v1.2.3-70-g09d2