mirror of
https://github.com/Spearfoot/disk-burnin-and-testing.git
synced 2026-10-26 19:01:41 -04:00
Merge 85130b4f72 into 8d1d38324f
This commit is contained in:
commit
b05e069e7d
1 changed files with 4 additions and 1 deletions
|
|
@ -311,7 +311,10 @@ LOG_DIR="$(printf '%s' "${LOG_DIR}" | awk '{gsub(/\/+$/, ""); printf $1}')"
|
|||
readonly LOG_DIR
|
||||
|
||||
# System information
|
||||
readonly HOSTNAME="$(hostname)"
|
||||
HOSTNAME="$(hostname)"
|
||||
# Try command hostnamectl if HOSTNAME is unset or empty
|
||||
[ -z "${HOSTNAME}" ] && HOSTNAME="$(hostnamectl --static)"
|
||||
readonly HOSTNAME
|
||||
readonly OS_FLAVOR="$(uname)"
|
||||
|
||||
# SMART static information
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue