mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-07 13:52:40 -04:00
/home last because most likely to fail
This commit is contained in:
parent
41077c94fb
commit
a05bd3dd0e
1 changed files with 7 additions and 7 deletions
|
@ -120,12 +120,6 @@ remount_secure() {
|
||||||
touch "$status_file_full_path"
|
touch "$status_file_full_path"
|
||||||
}
|
}
|
||||||
|
|
||||||
_home() {
|
|
||||||
mount_folder="/home"
|
|
||||||
intended_mount_options="nosuid,nodev${noexec_maybe}"
|
|
||||||
remount_secure "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
_run() {
|
_run() {
|
||||||
mount_folder="/run"
|
mount_folder="/run"
|
||||||
## https://lists.freedesktop.org/archives/systemd-devel/2015-February/028456.html
|
## https://lists.freedesktop.org/archives/systemd-devel/2015-February/028456.html
|
||||||
|
@ -153,6 +147,12 @@ _tmp() {
|
||||||
# remount_secure "$@"
|
# remount_secure "$@"
|
||||||
# }
|
# }
|
||||||
|
|
||||||
|
_home() {
|
||||||
|
mount_folder="/home"
|
||||||
|
intended_mount_options="nosuid,nodev${noexec_maybe}"
|
||||||
|
remount_secure "$@"
|
||||||
|
}
|
||||||
|
|
||||||
end() {
|
end() {
|
||||||
exit $exit_code
|
exit $exit_code
|
||||||
}
|
}
|
||||||
|
@ -160,11 +160,11 @@ end() {
|
||||||
main() {
|
main() {
|
||||||
init "$@"
|
init "$@"
|
||||||
parse_options "$@"
|
parse_options "$@"
|
||||||
_home "$@"
|
|
||||||
_run "$@"
|
_run "$@"
|
||||||
_dev_shm "$@"
|
_dev_shm "$@"
|
||||||
_tmp "$@"
|
_tmp "$@"
|
||||||
#_lib "$@"
|
#_lib "$@"
|
||||||
|
_home "$@"
|
||||||
end "$@"
|
end "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue