try to match with || again

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2010-04-15 12:21:43 +02:00
commit 2f96602bed
8 changed files with 27 additions and 20 deletions

View file

@ -31,6 +31,6 @@ count="$1"; shift
for i in $(seq 1 16); do
num=$(printf "%0.2d" $i)
echo Trying $cluster/${num}:
ipmitool -U "$user" -P "$pass" -I lanplus -H ${cluster}-ra${num} power off
ipmitool -U "$user" -P "$pass" -I lanplus -H ${cluster}-ra${num} power status
ipmitool -U "$user" -P "$pass" -I lanplus -H ${cluster}${num}-ra power off
ipmitool -U "$user" -P "$pass" -I lanplus -H ${cluster}${num}-ra power status
done