From 6675a2e93194ea15daeb22bee707cf49563f69fe Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sun, 22 Oct 2023 13:30:50 -0400 Subject: [PATCH] fix --- usr/bin/remount-secure | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/usr/bin/remount-secure b/usr/bin/remount-secure index 270a40e..b135b22 100755 --- a/usr/bin/remount-secure +++ b/usr/bin/remount-secure @@ -157,12 +157,11 @@ _run() { remount_secure "$@" } -## TODO -# _dev() { -# mount_folder="$NEWROOT/dev" -# intended_mount_options="nosuid,${noexec_maybe}" -# remount_secure "$@" -# } +_dev() { + mount_folder="$NEWROOT/dev" + intended_mount_options="nosuid,${noexec_maybe}" + remount_secure "$@" +} _dev_shm() { mount_folder="$NEWROOT/dev/shm" @@ -213,9 +212,13 @@ end() { main() { init "$@" parse_options "$@" + _boot "$@" _run "$@" + _dev "$@" _dev_shm "$@" _tmp "$@" + _var "$@" + _var_tmp "$@" #_lib "$@" _home "$@" end "$@"