From f9a145309f8bb79ad6ee7a6be6bcab57004fa49b Mon Sep 17 00:00:00 2001 From: root Date: Sun, 19 Jun 2022 20:07:05 -0400 Subject: [PATCH] iiab-diagnostics: grep -B2 "SEE ERROR ABOVE" /opt/iiab/iiab/*.log --- scripts/iiab-diagnostics | 1 + scripts/iiab-diagnostics.README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/iiab-diagnostics b/scripts/iiab-diagnostics index 89141194d..a1f516125 100755 --- a/scripts/iiab-diagnostics +++ b/scripts/iiab-diagnostics @@ -236,6 +236,7 @@ cat_cmd 'sudo iptables-save' 'Firewall rules' echo -e "\n 6. Log Files: (last 100 lines of each)\n" echo -e "\n\n\n\n6. LOG FILES (LAST 100 LINES OF EACH)\n" >> $outfile +cat_cmd 'grep -B2 "SEE ERROR ABOVE" /opt/iiab/iiab/*.log' cat_tail /opt/iiab/iiab/iiab-install.log 100 cat_tail /opt/iiab/iiab/iiab-configure.log 100 cat_tail /opt/iiab/iiab/iiab-debug.log 100 diff --git a/scripts/iiab-diagnostics.README.md b/scripts/iiab-diagnostics.README.md index 6ba4c8ca2..fad4fa31d 100644 --- a/scripts/iiab-diagnostics.README.md +++ b/scripts/iiab-diagnostics.README.md @@ -62,4 +62,4 @@ But first off, the file is compiled by harvesting 1 + 6 kinds of things: ## Source Code -Please look over the bottom of [iiab-diagnostics](iiab-diagnostics) (lines 119-244 especially) to learn more about which common IIAB files and commands make this rapid troubleshooting possible. +Please look over the bottom of [iiab-diagnostics](iiab-diagnostics) (lines 120-246 especially) to learn more about which common IIAB files and commands make this rapid troubleshooting possible.