Tweak sleeps
This commit is contained in:
parent
239e6cec0e
commit
be6a1393fc
5 changed files with 6 additions and 12 deletions
|
@ -2,6 +2,5 @@
|
|||
|
||||
# Switches off the led-board.
|
||||
ssh root@bitpanel.bitlair.nl shutdown -h now
|
||||
sleep 5
|
||||
sleep 10
|
||||
apc-switch 23 off
|
||||
sleep 1
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
ssh -o ConnectTimeout=1 root@music.bitlair.nl shutdown -h now
|
||||
sleep 5
|
||||
apc-switch 13 2
|
||||
sleep 10
|
||||
apc-switch 13 off
|
||||
|
||||
# Amplifier and KVM switch
|
||||
apc-switch 20 2
|
||||
sleep 1
|
||||
apc-switch 20 off
|
||||
|
||||
mqtt-simple -r -h mqtt.bitlair.nl -p 'bitlair/music/space/state' -m 'stopped'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue