mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:13:40 +07:00
remount-secure:
no longer use /usr/libexec/helper-scripts/pre.bsh as not simple with dracut
This commit is contained in:
parent
27b3ba8bdf
commit
e257f2a380
@ -13,13 +13,13 @@ set -e
|
||||
set -o pipefail
|
||||
set -o nounset
|
||||
|
||||
if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then
|
||||
## pre.bsh would `source` the following folders:
|
||||
## /etc/remount-secure_pre.d/*.conf
|
||||
## /usr/local/etc/remount-secure_pre.d/*.conf
|
||||
# shellcheck disable=SC1091
|
||||
source /usr/libexec/helper-scripts/pre.bsh
|
||||
fi
|
||||
# if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then
|
||||
# ## pre.bsh would `source` the following folders:
|
||||
# ## /etc/remount-secure_pre.d/*.conf
|
||||
# ## /usr/local/etc/remount-secure_pre.d/*.conf
|
||||
# # shellcheck disable=SC1091
|
||||
# source /usr/libexec/helper-scripts/pre.bsh
|
||||
# fi
|
||||
|
||||
if test -o xtrace ; then
|
||||
output_command=true
|
||||
|
Loading…
Reference in New Issue
Block a user