Files
third_party_mesa3d/.gitlab-ci/bare-metal/google-power-up.sh
2023-05-25 16:06:53 +02:00

13 lines
249 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/google-power-relay.py off "$relay"
sleep 5
"$CI_PROJECT_DIR"/install/bare-metal/google-power-relay.py on "$relay"