diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-15 17:17:53 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-15 17:17:53 +0000 |
commit | c2770cae962a971f2d55200ea205eb79f08da76b (patch) | |
tree | 2c927f28a40071b864e5ac1ea21038e10921b32e | |
parent | 89b74a249267239cbebdd216e1f7dbf07b2014f7 (diff) |
Merged revisions 114139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r114139 | qwell | 2008-04-15 12:17:37 -0500 (Tue, 15 Apr 2008) | 15 lines
Merged revisions 114138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r114138 | qwell | 2008-04-15 12:17:18 -0500 (Tue, 15 Apr 2008) | 7 lines
Update Digium autosupport script, for more useful information.
(closes issue #12452)
Reported by: angler
Patches:
autosupport.diff uploaded by angler (license 106)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114140 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | contrib/scripts/autosupport | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/scripts/autosupport b/contrib/scripts/autosupport index 99a9698b6..83efef42a 100644 --- a/contrib/scripts/autosupport +++ b/contrib/scripts/autosupport @@ -90,6 +90,38 @@ if [ "$ans" = "y" ]; then 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; + + echo "------------------" >> $OUTPUT; echo "LOADED MODULES" >> $OUTPUT; echo "------------------" >> $OUTPUT; lsmod >> $OUTPUT; |