Update scripts to space 2.0
This commit is contained in:
parent
5131fed83c
commit
ed042cbfce
21 changed files with 37 additions and 28 deletions
|
@ -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
|
||||
|
|
9
bitlair_closed.d/21_bitpanel_poweroff
Executable file
9
bitlair_closed.d/21_bitpanel_poweroff
Executable 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
|
3
bitlair_closed.d/21_crossleds_poweroff
Executable file
3
bitlair_closed.d/21_crossleds_poweroff
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
powerbar-switch 20 off
|
|
@ -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
|
3
bitlair_closed.d/21_roofleds_poweroff
Executable file
3
bitlair_closed.d/21_roofleds_poweroff
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
powerbar-switch 4 off
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
ssh -o ConnectTimeout=1 root@statsbak.bitlair.nl shutdown -h now
|
Loading…
Add table
Add a link
Reference in a new issue