mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
iiab-diagnostics code readability
This commit is contained in:
parent
b4dd70f0e4
commit
bfa6784f85
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ fi
|
|||
|
||||
# Build up a meaningful shared filename for DEV / IMPLEM / LEARNING team(s)
|
||||
outfile=/etc/iiab/diag/${IIAB_RELEASE}_${OS_VER}_${YMDT}_$nickname
|
||||
mkdir -p /etc/iiab/diag # System "snapshots" (time-stamped output from this 'iiab-diagnostics' command) will be stored in this directory. A bit like system logs, but only on request.
|
||||
# System "snapshots" (time-stamped output from this 'iiab-diagnostics' command) will be stored in this directory. A bit like system logs, but only on request.
|
||||
mkdir -p /etc/iiab/diag
|
||||
|
||||
function cat_file_raw() { # $1 = path/filename; $2 = # of lines, for tail
|
||||
if [ -f $1 ]; then
|
||||
|
|
Loading…
Reference in a new issue