Skip to content

Commit 5765570

Browse files
authored
Add 'hw-management-generate-dump.sh' to 'show techsupport' command (sonic-net#923)
Signed-off-by: Shlomi Bitton <[email protected]>
1 parent 143ad38 commit 5765570

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/generate_dump

+5
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,11 @@ main() {
511511
fi
512512
done
513513

514+
# run 'hw-management-generate-dump.sh' script and save the result file
515+
/usr/bin/hw-management-generate-dump.sh
516+
save_file "/tmp/hw-mgmt-dump*" "hw-mgmt" false
517+
rm -f /tmp/hw-mgmt-dump*
518+
514519
# clean up working tar dir before compressing
515520
$RM $V -rf $TARDIR
516521

0 commit comments

Comments
 (0)