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'

View file

@ -1,6 +1,4 @@
#!/bin/bash
# Switches on the led-board.
apc-switch 23 on
sleep 1

View file

@ -2,10 +2,8 @@
# Switches on the music computer.
apc-switch 13 off
sleep 5
sleep 10
apc-switch 13 on
sleep 1
# Amplifier and KVM switch
apc-switch 20 on
sleep 1

View file

@ -3,6 +3,6 @@
# Starts the computer displaying pretty graphs.
for i in {0..3}; do
wakeonlan '00:1e:c9:72:21:c4'
wakeonlan '00:1e:c9:72:21:c4' > /dev/null
sleep 1
done