Tweak sleeps

This commit is contained in:
polyfloyd 2016-10-13 00:38:38 +02:00
parent 239e6cec0e
commit be6a1393fc
5 changed files with 6 additions and 12 deletions

View file

@ -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

View file

@ -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'