V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m53s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-24 20:58:50 +01:00
parent ffb20a7342
commit 17bf5ca5fc
88 changed files with 104 additions and 99 deletions

View File

@@ -54,7 +54,7 @@ accounts_preparation() {
esac
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -58,7 +58,7 @@ accounts_preparation_ciss() {
insert_comments "${var_target}/etc/skel/.ciss/scan_libwrap"
insert_comments "${var_target}/etc/skel/.ciss/shortcuts"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -57,7 +57,7 @@ accounts_preparation_physnet() {
insert_comments "${var_target}/etc/skel/.ciss/scan_libwrap"
insert_comments "${var_target}/etc/skel/.ciss/shortcuts"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -109,7 +109,7 @@ accounts_hardening() {
fi
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -471,7 +471,7 @@ EOF
printf "# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf \n" >> "${var_target}/etc/security/access.conf"
printf "# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf \n" >> "${var_target}/etc/ssh/sshd_config"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -78,7 +78,7 @@ accounts_setup_ciss_root() {
do_log "info" "file_only" "4520() Skeleton: 'root' successfully generated."
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
@@ -136,7 +136,7 @@ accounts_setup_ciss_user() {
do_log "info" "file_only" "4520() Skeleton: '${var_username}' successfully generated."
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -76,7 +76,7 @@ accounts_setup_physnet_root() {
do_log "info" "file_only" "4520() Skeleton: 'root' successfully generated."
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
@@ -131,7 +131,7 @@ accounts_setup_physnet_user() {
do_log "info" "file_only" "4520() Skeleton: '${var_username}' successfully generated."
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -91,7 +91,7 @@ update_shadow() {
### Atomic replace.
mv -f "${var_temp}" "${var_shadow}"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034