Update scripts to space 2.0

This commit is contained in:
polyfloyd 2017-02-22 16:55:42 +01:00
parent 5131fed83c
commit ed042cbfce
21 changed files with 37 additions and 28 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
ssh -o ConnectTimeout=1 root@music.bitlair.nl mpc pause
ssh -o ConnectTimeout=1 root@music.bitlair.nl /opt/shutdown.sh
ssh -o ConnectTimeout=1 root@music.bitlair.nl shutdown -h now
sleep 10
apc-switch 18 off

View file

@ -0,0 +1,9 @@
#!/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

View file

@ -0,0 +1,3 @@
#!/bin/bash
powerbar-switch 20 off

View file

@ -1,6 +0,0 @@
#!/bin/bash
# Switches off the led-board.
ssh root@bitpanel.bitlair.nl shutdown -h now
sleep 10
apc-switch 23 off

View file

@ -0,0 +1,3 @@
#!/bin/bash
powerbar-switch 4 off

View file

@ -1,3 +0,0 @@
#!/bin/bash
ssh -o ConnectTimeout=1 root@statsbak.bitlair.nl shutdown -h now