Skip to content
Snippets Groups Projects
Commit 590591c1 authored by Joshua Colp's avatar Joshua Colp
Browse files

Make a zttest of 20 seconds part of the autosupport script (issue #7752 reported by kshumard)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 749cd217
Branches
Tags
No related merge requests found
...@@ -22,6 +22,7 @@ fi ...@@ -22,6 +22,7 @@ fi
echo echo
echo "This will gather information about your system such as:" echo "This will gather information about your system such as:"
echo "pci listing, dmesg, running processes, and kernel version" echo "pci listing, dmesg, running processes, and kernel version"
echo "This may take up to half a minute to run. Please be patient."
echo "To continue press 'y', to quit press any other key" echo "To continue press 'y', to quit press any other key"
read ans read ans
...@@ -100,6 +101,13 @@ if [ "$ans" = "y" ]; then ...@@ -100,6 +101,13 @@ if [ "$ans" = "y" ]; then
echo >> $OUTPUT; echo >> $OUTPUT;
echo >> $OUTPUT; echo >> $OUTPUT;
echo "------------------" >> $OUTPUT;
echo "ZTTEST" >> $OUTPUT;
echo "------------------" >> $OUTPUT;
/usr/src/zaptel/zttest -c 20 >> $OUTPUT;
echo >> $OUTPUT;
echo >> $OUTPUT;
else else
echo "terminated"; echo "terminated";
exit exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment