Commit changes from the last 4 years
This commit is contained in:
parent
ed042cbfce
commit
bcd171723c
43 changed files with 74 additions and 37 deletions
4
bitlair_closed.d/20_amplifier_poweroff
Executable file
4
bitlair_closed.d/20_amplifier_poweroff
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Amplifier and KVM switch
|
||||
apc-switch 22 off
|
|
@ -3,9 +3,6 @@
|
|||
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
|
||||
|
||||
# Amplifier and KVM switch
|
||||
apc-switch 19 off
|
||||
apc-switch 20 off
|
||||
|
||||
mqtt-simple -r -h mqtt.bitlair.nl -p 'bitlair/music/space/state' -m 'stopped'
|
||||
|
|
|
@ -3,7 +3,4 @@
|
|||
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
|
||||
apc-switch 18 off
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
powerbar-switch 20 off
|
3
bitlair_closed.d/21_lounge_leds_poweroff
Executable file
3
bitlair_closed.d/21_lounge_leds_poweroff
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
apc-switch 17 off
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
powerbar-switch 4 off
|
2
bitlair_closed.d/22_phone_off
Executable file
2
bitlair_closed.d/22_phone_off
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
poe-switch 10 off
|
4
bitlair_closed.d/23_bank_leds_off
Executable file
4
bitlair_closed.d/23_bank_leds_off
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Turn off the port for the bank leds
|
||||
powerbar-switch 3 off
|
4
bitlair_closed.d/23_beamer_off
Executable file
4
bitlair_closed.d/23_beamer_off
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Turn off the port for the Beamer
|
||||
powerbar-switch 2 off
|
5
bitlair_closed.d/23_ledbanner_off
Executable file
5
bitlair_closed.d/23_ledbanner_off
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
ssh -o ConnectTimeout=1 root@ledbanner.bitlair.nl shutdown -h now
|
||||
sleep 10
|
||||
powerbar-switch 20 off
|
6
bitlair_closed.d/24_statsbank_off
Executable file
6
bitlair_closed.d/24_statsbank_off
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
ssh -o ConnectTimeout=1 root@statsbak.bitlair.nl shutdown -h now
|
||||
sleep 20
|
||||
powerbar-switch 19 off
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
bitlair-tweet "We closed at $(date +%s)"
|
||||
bitlair-state-tweet "No, we're closed. Closed at: $(date --rfc-3339=seconds)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue