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
1.4
Joshua Colp 19 years ago
parent 749cd217c3
commit 590591c16e

@ -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
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

Loading…
Cancel
Save