mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
18 lines
317 B
Bash
18 lines
317 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
## Copyright (C) 2023 - 2023 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||
|
## See the file COPYING for copying conditions.
|
||
|
|
||
|
remount_hook() {
|
||
|
local remount_action
|
||
|
remount_action=$(getarg remountsecure)
|
||
|
|
||
|
if [ ! "$remount_action" = "yes" ]; then
|
||
|
return 0
|
||
|
fi
|
||
|
|
||
|
remount-secure
|
||
|
}
|
||
|
|
||
|
remount_hook
|