9 lines
212 B
Plaintext
9 lines
212 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
if [ -z "$BM_POE_INTERFACE" ]; then
|
||
|
echo "Must supply the PoE Interface to power off"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
flock /var/run/poe.lock -c "$CI_PROJECT_DIR/install/bare-metal/poe-set $BM_POE_INTERFACE off"
|