remount-secure:

no longer use /usr/libexec/helper-scripts/pre.bsh as not simple with dracut
This commit is contained in:
Patrick Schleizer 2023-10-22 07:50:14 -04:00
parent 27b3ba8bdf
commit e257f2a380
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -13,13 +13,13 @@ set -e
set -o pipefail set -o pipefail
set -o nounset set -o nounset
if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then # if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then
## pre.bsh would `source` the following folders: # ## pre.bsh would `source` the following folders:
## /etc/remount-secure_pre.d/*.conf # ## /etc/remount-secure_pre.d/*.conf
## /usr/local/etc/remount-secure_pre.d/*.conf # ## /usr/local/etc/remount-secure_pre.d/*.conf
# shellcheck disable=SC1091 # # shellcheck disable=SC1091
source /usr/libexec/helper-scripts/pre.bsh # source /usr/libexec/helper-scripts/pre.bsh
fi # fi
if test -o xtrace ; then if test -o xtrace ; then
output_command=true output_command=true