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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-16 23:25:32 +02:00
parent fe62d8cd0f
commit 81bcb407fd
31 changed files with 249 additions and 39 deletions

View File

@@ -23,7 +23,7 @@ guard_sourcing
# 4: Mount Options
# 5: Pass value, while Dump value is hardcoded always "0", e.g., "1"
# Returns:
# 0: Successfully executed commands.
# 0: on success
#######################################
write_fstab() {
declare _uuid="$1" _path="$2" _fs="$3" _opts="$4" _pass="$5"
@@ -44,12 +44,12 @@ write_fstab() {
# Arguments:
# None
# Returns:
# 0: Successfully executed commands.
# 0: on success
#######################################
generate_fstab() {
### Generate '${TARGET}/etc/fstab' header.
: >| "${TARGET}/etc/fstab"
chmod 0644 "${TARGET}/etc/fstab"
chmod 0600 "${TARGET}/etc/fstab"
cat << 'EOF' >> "${TARGET}/etc/fstab"
# /etc/fstab: static file system information.