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 "$@"