#!/bin/sh # # MegaGlest System Report # # Examines the Linux operating environment of a MegaGlest installation and # dumps this information into REPORT_LOCATION for support purposes. # # ----------------------------------------------------------------------------- # # Written by Tom Reynolds # Copyright (c) 2012 Tom Reynolds, The Megaglest Team, under GNU GPL v3.0 # # ----------------------------------------------------------------------------- # # Configuration section # Location to write report to #REPORT_LOCATION= # MegaGlest installation directory, see --help #INSTALLATION_LOCATION= # Make user press Enter to exit #PAUSE=1 # End of configuration section # # ----------------------------------------------------------------------------- # LANG=C VERSION='0.3.4' MYNAME=`basename $0` DEFAULT_REPORT_FILENAME=system_report.log if [ "$1"'x' = '-vx' -o "$1"'x' = '--versionx' ] then echo 'MegaGlest System Report '"$VERSION" echo '' exit 0 fi if [ "$1"'x' = '-hx' -o "$1"'x' = '--helpx' ] then echo 'Usage:' echo ' '"$MYNAME"'