V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 50s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 50s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -16,12 +16,19 @@ guard_sourcing
|
||||
# Creates the DIRs, prepares the files and mounting paths for installation.
|
||||
# Globals:
|
||||
# DIR_LOG
|
||||
# LOG_DBS
|
||||
# LOG_ERR
|
||||
# LOG_INS
|
||||
# LOG_NIC
|
||||
# LOG_UID
|
||||
# RECOVERY
|
||||
# TARGET
|
||||
# VAR_PRESEED
|
||||
# VAR_SAFE_MNT_BASE
|
||||
# Arguments:
|
||||
# None
|
||||
# None
|
||||
# Returns:
|
||||
# 0: on success
|
||||
#######################################
|
||||
gen_dir_files() {
|
||||
### MAKE DIRS
|
||||
@@ -41,5 +48,7 @@ gen_dir_files() {
|
||||
touch "${DIR_LOG}/cpu.log" && chmod 0600 "${DIR_LOG}/cpu.log"
|
||||
touch "${DIR_LOG}/ext4.log" && chmod 0600 "${DIR_LOG}/ext4.log"
|
||||
touch "${DIR_LOG}/sshd_config.log" && chmod 0600 "${DIR_LOG}/sshd_config.log"
|
||||
|
||||
return 0
|
||||
}
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||
|
||||
Reference in New Issue
Block a user