From 32d1778821ace2beda8cacae721287130b2422ac Mon Sep 17 00:00:00 2001 From: Dwayne Hart Date: Mon, 13 Nov 2023 09:25:31 -0330 Subject: [PATCH] Adding in the external mount and umount scripts. --- scripts/config-ext-mount-pts.sh | 5 +++++ scripts/unconfig-ext-mount-pts.sh | 5 +++++ 2 files changed, 10 insertions(+) create mode 100755 scripts/config-ext-mount-pts.sh create mode 100755 scripts/unconfig-ext-mount-pts.sh diff --git a/scripts/config-ext-mount-pts.sh b/scripts/config-ext-mount-pts.sh new file mode 100755 index 000000000..5c87d6a6a --- /dev/null +++ b/scripts/config-ext-mount-pts.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +# Configure external mount points +mount --bind /dev ${1}/dev +mount --bind /run ${1}/run diff --git a/scripts/unconfig-ext-mount-pts.sh b/scripts/unconfig-ext-mount-pts.sh new file mode 100755 index 000000000..16e033d4c --- /dev/null +++ b/scripts/unconfig-ext-mount-pts.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +# Unconfigure external mount points +umount ${1}/dev +umount ${1}/run