#!/bin/bash #SERVER_SERIAL=`dmidecode -s chassis-serial-number | sed 's/\s.*$//'` SERVER_SERIAL=`dmidecode -s system-serial-number | sed 's/\s.*$//'` MY_DATETIME=`date +%Y-%m-%d_%H-%M-%S` OUTPUT_HOME=/output/hwtests OUTPUT_DIR=$OUTPUT_HOME/$SERVER_SERIAL #OUTPUT_BAD="$OUTPUT_HOME/ $OUTPUT_DIR/dmidecode fi