#!/bin/bash
# TODO: test for USB presence (recommend to off usb from BIOS)
# TODO: test for power control (ACPI button)
# TODO: test for processor speed control presence
export LANG=POSIX
if [ "$1" = "-q" ]; then
	export VERBOSE=0
else
	export VERBOSE=1
fi

if [ "$TERM" == "" ]; then
    export TERM=linux
fi
if [ "$TERM" == "dumb" ]; then
    export TERM=linux
fi

/usr/bin/clear
/bin/date | csed '/./ p blue,bold'

/usr/share/mithraen-pbx-systemtest/cpu
/usr/share/mithraen-pbx-systemtest/apic
/usr/share/mithraen-pbx-systemtest/is_lvm
/usr/share/mithraen-pbx-systemtest/fb

/usr/share/mithraen-pbx-systemtest/interrupts-conflict | csed '/.*/ p red,bold'
/usr/share/mithraen-pbx-systemtest/zaptel
/usr/share/mithraen-pbx-systemtest/ide
/usr/share/mithraen-pbx-systemtest/diskspace

