~mmach/netext73/mesa_2004

« back to all changes in this revision

Viewing changes to .gitlab-ci/bare-metal/eth008-power-up.sh

  • Committer: mmach
  • Date: 2023-03-27 18:58:21 UTC
  • Revision ID: netbit73@gmail.com-20230327185821-ozduw10kmfvwg70q
23

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
relay=$1
 
4
 
 
5
if [ -z "$relay" ]; then
 
6
    echo "Must supply a relay arg"
 
7
    exit 1
 
8
fi
 
9
 
 
10
$CI_PROJECT_DIR/install/bare-metal/eth008-power-relay.py $ETH_HOST $ETH_PORT off $relay
 
11
sleep 5
 
12
$CI_PROJECT_DIR/install/bare-metal/eth008-power-relay.py $ETH_HOST $ETH_PORT on $relay