#!/bin/bash
ipmi=`ipmitool lan print 1 |grep -i "IP Address"|tail -1|awk -F ' ' '{print $NF}'`
password=$1
./bin/urest -H $ipmi -U root -P $password  upgradefw -F "$(pwd)/1288HV6-2288HV6-5288V6-32DIMM-BIOS_1.81.hpm"
