From 88dc5c6fcd9e7a5dffdc538fa28d8a62f3b4aee0 Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Fri, 14 Oct 2016 20:14:54 +0200 Subject: [PATCH] Tweak script timeouts --- bitlair_open.d/20_ledboard_poweron | 2 ++ bitlair_open.d/20_music_poweron | 3 +-- bitlair_open.d/20_phone_on | 2 -- djo_closed.d/80_irc | 2 +- djo_open.d/80_irc | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/bitlair_open.d/20_ledboard_poweron b/bitlair_open.d/20_ledboard_poweron index ff1a1a8..43a2e38 100755 --- a/bitlair_open.d/20_ledboard_poweron +++ b/bitlair_open.d/20_ledboard_poweron @@ -1,4 +1,6 @@ #!/bin/bash +apc-switch 23 off + # Switches on the led-board. apc-switch 23 on diff --git a/bitlair_open.d/20_music_poweron b/bitlair_open.d/20_music_poweron index 7c718e3..8566ba1 100755 --- a/bitlair_open.d/20_music_poweron +++ b/bitlair_open.d/20_music_poweron @@ -1,8 +1,7 @@ #!/bin/bash -# Switches on the music computer. apc-switch 13 off -sleep 10 +# Switches on the music computer. apc-switch 13 on # Amplifier and KVM switch diff --git a/bitlair_open.d/20_phone_on b/bitlair_open.d/20_phone_on index 70fb65d..a914e12 100755 --- a/bitlair_open.d/20_phone_on +++ b/bitlair_open.d/20_phone_on @@ -2,6 +2,4 @@ # Switches on the phones. poe-switch 1 1 -sleep 1 poe-switch 2 1 -sleep 1 diff --git a/djo_closed.d/80_irc b/djo_closed.d/80_irc index 0d233a8..5474626 100755 --- a/djo_closed.d/80_irc +++ b/djo_closed.d/80_irc @@ -1,3 +1,3 @@ #!/bin/bash -echo "DJO is now open" | nc 127.0.0.1 31337 +irc-say "DJO is now open" diff --git a/djo_open.d/80_irc b/djo_open.d/80_irc index 0d233a8..5474626 100755 --- a/djo_open.d/80_irc +++ b/djo_open.d/80_irc @@ -1,3 +1,3 @@ #!/bin/bash -echo "DJO is now open" | nc 127.0.0.1 31337 +irc-say "DJO is now open"