mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 22:45:39 +00:00
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
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user