V8.13.392.2025.11.07
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m1s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m1s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -55,9 +55,9 @@ hardening_ultra() {
|
||||
### ./config/includes.binary -------------------------------------------------------------------------------------------------
|
||||
printf "\e[95m++++ ++++ ++++ ++++ ++++ ++++ ++ 🧪 Copying ./config/includes.binary ... \e[0m\n"
|
||||
|
||||
if [[ ! -d "${VAR_HANDLER_BUILD_DIR}/config/includes.binary/boot/grub" ]]; then
|
||||
if [[ ! -d "${VAR_HANDLER_BUILD_DIR}/config/includes.binary" ]]; then
|
||||
|
||||
mkdir -p "${VAR_HANDLER_BUILD_DIR}/config/includes.binary/boot/grub"
|
||||
mkdir -p "${VAR_HANDLER_BUILD_DIR}/config/includes.binary"
|
||||
cp -af ./config/includes.binary "${VAR_HANDLER_BUILD_DIR}/config"
|
||||
|
||||
else
|
||||
@@ -75,13 +75,13 @@ hardening_ultra() {
|
||||
if [[ ! -d "${VAR_HANDLER_BUILD_DIR}/config/includes.chroot" ]]; then
|
||||
|
||||
mkdir -p "${VAR_HANDLER_BUILD_DIR}/config/includes.chroot"
|
||||
cp -af ./config/includes.chroot/ "${VAR_HANDLER_BUILD_DIR}/config/includes.chroot/"
|
||||
cp -af ./config/includes.chroot "${VAR_HANDLER_BUILD_DIR}/config/includes.chroot"
|
||||
chmod 0755 ./config/includes.chroot/etc/ciss/keys
|
||||
chmod 0444 ./config/includes.chroot/etc/ciss/keys/*
|
||||
|
||||
else
|
||||
|
||||
cp -af ./config/includes.chroot/ "${VAR_HANDLER_BUILD_DIR}/config/includes.chroot/"
|
||||
cp -af ./config/includes.chroot "${VAR_HANDLER_BUILD_DIR}/config/includes.chroot"
|
||||
chmod 0755 ./config/includes.chroot/etc/ciss/keys
|
||||
chmod 0444 ./config/includes.chroot/etc/ciss/keys/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user