nuno revised this gist 1 month ago. Go to revision
1 file changed, 10 insertions
gistfile1.txt(file created)
| @@ -0,0 +1,10 @@ | |||
| 1 | + | 72: group="${5:-}" status="${6:-}" last_seen="${7:-}" \ | |
| 2 | + | 84: local name_pad ip_pad type_pad ts_pad status_pad | |
| 3 | + | 88: ts_pad=$(printf "%-11s" "$last_seen") | |
| 4 | + | 105: "$status_color" "$ts_pad" | |
| 5 | + | 107: # Normal online row — white fields, colored status/last_seen | |
| 6 | + | 113: "$status_color" "$ts_pad" | |
| 7 | + | 147: group="${5:-}" status="${6:-}" last_seen="${7:-}" | |
| 8 | + | 155: "$padded_status" "$last_seen" | |
| 9 | + | 159: "$padded_status" "$last_seen" | |
| 10 | + | 177: group="${5:-}" subnet="${6:-}" status="${7:-}" last_seen="${8:-}" \ | |
Newer
Older