diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-15 17:17:37 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-15 17:17:37 +0000 |
commit | bf345395e91823306d48c368cd491fb1e106c6f0 (patch) | |
tree | 1493c9cec627b354bc4e24af4397fecd7d62bcd3 /contrib | |
parent | 33de15d8f6cd80e52485d2d8c2d6bde8456c6e7c (diff) |
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/trunk@114139 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
-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; |