From: <abe...@us...> - 2011-12-23 17:49:51
|
Revision: 5334 http://astlinux.svn.sourceforge.net/astlinux/?rev=5334&view=rev Author: abelbeck Date: 2011-12-23 17:49:44 +0000 (Fri, 23 Dec 2011) Log Message: ----------- cleanup, remove old autosupport script and show drive examples as 'sda' Modified Paths: -------------- branches/1.0/project/astlinux/target_skeleton/etc/rc branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf Removed Paths: ------------- branches/1.0/project/astlinux/target_skeleton/usr/sbin/autosupport Modified: branches/1.0/project/astlinux/target_skeleton/etc/rc =================================================================== --- branches/1.0/project/astlinux/target_skeleton/etc/rc 2011-12-23 00:42:26 UTC (rev 5333) +++ branches/1.0/project/astlinux/target_skeleton/etc/rc 2011-12-23 17:49:44 UTC (rev 5334) @@ -284,7 +284,7 @@ echo "Runnix vfat partition re-mounted read-only" fi else - echo "Runnix vfat partition label not found, use: dosfslabel /dev/hda1 RUNNIX" 1>&2 + echo "Runnix vfat partition label not found, use: dosfslabel /dev/sda1 RUNNIX" 1>&2 fi fi fi Modified: branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf =================================================================== --- branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2011-12-23 00:42:26 UTC (rev 5333) +++ branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2011-12-23 17:49:44 UTC (rev 5334) @@ -650,7 +650,7 @@ ## The Linux kernel has several I/O schedulers available. ## It is important to optimize everything you can in an embedded system ## AstLinux lets you use this variable to change the I/O scheduler per device -#IOSCHED="hda:noop" +#IOSCHED="sda:noop" ## APC UPS Support via apcupsd ## Monitor and safely shut down the system (as well as perform other actions) upon the Deleted: branches/1.0/project/astlinux/target_skeleton/usr/sbin/autosupport =================================================================== --- branches/1.0/project/astlinux/target_skeleton/usr/sbin/autosupport 2011-12-23 00:42:26 UTC (rev 5333) +++ branches/1.0/project/astlinux/target_skeleton/usr/sbin/autosupport 2011-12-23 17:49:44 UTC (rev 5334) @@ -1,155 +0,0 @@ -#!/bin/sh -# -# Collect support information -# -# Copyright (C) 2005, Digium, Inc. -# -# Written by John Bigelow (su...@di...) -# -# Distributed under the terms of the GNU General Public -# License -# - -OUTPUT=$HOME/digiuminfo - -if [ $UID -ne 0 ]; then - - echo "You must be root to run this." - -exit 1 -fi - -echo -echo "This will gather information about your system such as:" -echo "pci listing, dmesg, running processes, and kernel version" -echo "To continue press 'y', to quit press any other key" -read ans - -if [ "$ans" = "y" ]; then - - rm -f $OUTPUT - - echo "------------------" >> $OUTPUT; - echo "PCI LIST " >> $OUTPUT; - echo "------------------" >> $OUTPUT; - lspci -vb >> $OUTPUT; - echo >> $OUTPUT; - echo >> $OUTPUT; - - echo "------------------" >> $OUTPUT; - echo "INTERRUPTS" >> $OUTPUT; - echo "------------------" >> $OUTPUT; - cat /proc/interrupts >> $OUTPUT; - echo >> $OUTPUT; - echo >> $OUTPUT; - - echo "------------------" >> $OUTPUT; - echo "DMESG OUTPUT" >> $OUTPUT; - echo "------------------" >> $OUTPUT; - dmesg >> $OUTPUT; - echo >> $OUTPUT; - echo >> $OUTPUT; - - echo "------------------" >> $OUTPUT; - echo "RUNNING PROCESSES" >> $OUTPUT; - echo "------------------" >> $OUTPUT; - ps aux >> $OUTPUT; - echo >> $OUTPUT; - echo >> $OUTPUT; - - echo "------------------" >> $OUTPUT; - echo "KERNEL VERSION" >> $OUTPUT; - echo "------------------" >> $OUTPUT; - uname -a >> $OUTPUT; - echo >> $OUTPUT; - echo >> $OUTPUT; - - echo "------------------" >> $OUTPUT; - echo "CPU INFO" >> $OUTPUT; - echo "------------------" >> $OUTPUT; - cat /proc/cpuinfo >> $OUTPUT; - echo >> $OUTPUT; - echo >> $OUTPUT; - - echo "------------------" >> $OUTPUT; - echo "HDPARM STATUS" >> $OUTPUT; - echo "------------------" >> $OUTPUT; - hdparm /dev/hda >> $OUTPUT; - hdparm -i /dev/hda >> $OUTPUT; - echo >> $OUTPUT; - echo >> $OUTPUT; - - echo "------------------" >> $OUTPUT; - echo "ZAPTEL CONFIG" >> $OUTPUT; - echo "------------------" >> $OUTPUT; - grep -v '^#' /etc/zaptel.conf >> $OUTPUT; - echo >> $OUTPUT; - echo >> $OUTPUT; - - echo "------------------" >> $OUTPUT; - echo "ZAPATA CONFIG" >> $OUTPUT; - echo "------------------" >> $OUTPUT; - grep -v '^;' /etc/asterisk/zapata.conf >> $OUTPUT; - echo >> $OUTPUT; - echo >> $OUTPUT; - - echo "------------------" >> $OUTPUT; - echo "EXTENSIONS CONFIG" >> $OUTPUT; - echo "------------------" >> $OUTPUT; - grep -v '^;' /etc/asterisk/extensions.conf >> $OUTPUT; - echo >> $OUTPUT; - echo >> $OUTPUT; - -else - echo "terminated"; -exit -fi - -echo -echo "Digium may require root level access to the system to help debug"; -echo "the problem you are experiencing. Do you want to provide login"; -echo "information at this time?"; -echo "Press 'y' for yes and any other key to exit and save the previous info collected" -read login - -if [ "$login" = "y" ]; then - - echo "------------------" >> $OUTPUT; - echo "LOGIN INFORMATION" >> $OUTPUT; - echo "------------------" >> $OUTPUT; - - echo - echo "What is your root password?" - read rootpass - - echo - echo "Root pass: "$rootpass >> $OUTPUT - - echo - echo "What is your PUBLIC IP address?" - read ip - - echo "IP address: "$ip >> $OUTPUT - - echo - echo "Please provide any other login information that the technician" - echo "may need to know to login to the system'(press enter if not)'" - read adinfo - - echo "Additional login info: "$adinfo >> $OUTPUT - - echo - echo "All information has been stored in $OUTPUT," - echo "Please attach this file to an email ticket you already" - echo "have open with Digium Tech Support." - -else - echo - echo "All information except login info has been stored in $OUTPUT," - echo "Please send this file to an email ticket you already" - echo "have open with Digium Tech Support." -exit -fi - - - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |