aboutsummaryrefslogtreecommitdiff
path: root/run_ipmi.sh
blob: 3b9a7ebb070030651f5e2af3ef4d82888871509a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if [[ -e "/tmp/ipmi_done" ]] ; then
  exit 0
fi

/usr/sbin/ipmitool delloem lcd set mode userdefined 'Waiting for Key ...'

if [[ "$?" -eq 0 ]] ; then
  touch /tmp/ipmi_done
fi