[asterisk-commits] qwell: branch 1.4 r114138 - /branches/1.4/contrib/scripts/autosupport

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 15 12:17:18 CDT 2008


Author: qwell
Date: Tue Apr 15 12:17:18 2008
New Revision: 114138

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114138
Log:
Update Digium autosupport script, for more useful information.

(closes issue #12452)
Reported by: angler
Patches:
      autosupport.diff uploaded by angler (license 106)

Modified:
    branches/1.4/contrib/scripts/autosupport

Modified: branches/1.4/contrib/scripts/autosupport
URL: http://svn.digium.com/view/asterisk/branches/1.4/contrib/scripts/autosupport?view=diff&rev=114138&r1=114137&r2=114138
==============================================================================
--- branches/1.4/contrib/scripts/autosupport (original)
+++ branches/1.4/contrib/scripts/autosupport Tue Apr 15 12:17:18 2008
@@ -86,6 +86,38 @@
   echo "CMDLINE INFO" >> $OUTPUT;
   echo "------------------" >> $OUTPUT;
   cat /proc/cmdline >> $OUTPUT;
+  echo >> $OUTPUT;
+  echo >> $OUTPUT;
+
+  echo "------------------" >> $OUTPUT;
+  echo "KERNEL CONFIG" >> $OUTPUT;
+  echo "------------------" >> $OUTPUT;
+  echo "/lib/modules/$(uname -r)/build/.config:" >> $OUTPUT;
+  cat /lib/modules/$(uname -r)/build/.config >> $OUTPUT;
+  echo >> $OUTPUT;
+  echo "/usr/src/linux/.config:" >> $OUTPUT;
+  cat /usr/src/linux/.config >> $OUTPUT;
+  echo >> $OUTPUT;
+  echo >> $OUTPUT;
+
+  echo "------------------" >> $OUTPUT;
+  echo "ZAPTEL MODULE INFO" >> $OUTPUT;
+  echo "------------------" >> $OUTPUT;
+  modinfo /lib/modules/$(uname -r)/misc/*.ko >> $OUTPUT;
+  echo >> $OUTPUT;
+  echo >> $OUTPUT;
+  
+  echo "------------------" >> $OUTPUT;
+  echo "OTHER INFO" >> $OUTPUT;
+  echo "------------------" >> $OUTPUT;
+  echo "/etc/*issues*:" >> $OUTPUT;
+  cat /etc/*issues* >> $OUTPUT;
+  echo >> $OUTPUT;
+  echo "/etc/*release*:" >> $OUTPUT;
+  cat /etc/*release* >> $OUTPUT;
+  echo >> $OUTPUT;
+  echo "/etc/*motd*:" >> $OUTPUT;
+  cat /etc/*motd* >> $OUTPUT;
   echo >> $OUTPUT;
   echo >> $OUTPUT;
 




More information about the asterisk-commits mailing list