summaryrefslogtreecommitdiff
path: root/contrib/scripts
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2008-04-15 17:17:37 +0000
committerJason Parker <jparker@digium.com>2008-04-15 17:17:37 +0000
commitc2d0b572bf20b04eac9d979546995e3b7533ee68 (patch)
tree1493c9cec627b354bc4e24af4397fecd7d62bcd3 /contrib/scripts
parentf6cfccbc072b6e66f712659c50d6bed3eed2636d (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: https://origsvn.digium.com/svn/asterisk/trunk@114139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib/scripts')
-rw-r--r--contrib/scripts/autosupport32
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;