#!/bin/sh # $tmp # print the hardware setup. echo echo Output from /usr/platform/$name/sbin/prtdiag -v: echo ( set X `grep 'System Configuration:' $tmp` shift echo $1 $2 shift; shift echo " $*" grep -v 'System Configuration:' $tmp ) | sed -e 's/^/ /g' | cut -c1-80 | uniq rm -f $tmp exit 0