summaryrefslogtreecommitdiff
path: root/util/unmount_filesystems.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/unmount_filesystems.sh')
-rw-r--r--util/unmount_filesystems.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/util/unmount_filesystems.sh b/util/unmount_filesystems.sh
index 770a5e7..6ccce3b 100644
--- a/util/unmount_filesystems.sh
+++ b/util/unmount_filesystems.sh
@@ -18,9 +18,12 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-root_partition_path=$1 # e.g. /dev/sda2
+boot_partition_path=$1
+root_partition_path=$2
-cd /root && umount $root_partition_path
+cd /root
+umount $boot_partition_path
+umount $root_partition_path
echo "Unmounted filesystems - OK"