spacestated/bitlair_closed.d/21_bitpanel_poweroff

9 lines
160 B
Bash
Executable file

#!/bin/bash
ssh root@bitpanel.bitlair.nl shutdown -h now
sleep 10
# 1 = Board (upper half)
# 2 = Controller
# 3 = Board (lower half)
powerbar-switch 1-3 off