mirror of https://gitlab.freedesktop.org/mesa/mesa
13 lines
297 B
Bash
Executable File
13 lines
297 B
Bash
Executable File
#!/bin/bash
|
|
|
|
relay=$1
|
|
|
|
if [ -z "$relay" ]; then
|
|
echo "Must supply a relay arg"
|
|
exit 1
|
|
fi
|
|
|
|
"$CI_PROJECT_DIR"/install/bare-metal/eth008-power-relay.py "$ETH_HOST" "$ETH_PORT" off "$relay"
|
|
sleep 5
|
|
"$CI_PROJECT_DIR"/install/bare-metal/eth008-power-relay.py "$ETH_HOST" "$ETH_PORT" on "$relay"
|