From d9bbdbb49ba8041b0136f4219494d523a0a029fc Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Sat, 17 Dec 2016 16:32:57 +0100 Subject: [PATCH] Update powerbar port numbers --- bitlair_closed.d/20_music_poweroff | 4 ++-- bitlair_open.d/20_music_poweron | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bitlair_closed.d/20_music_poweroff b/bitlair_closed.d/20_music_poweroff index e8ee967..ebfcca1 100755 --- a/bitlair_closed.d/20_music_poweroff +++ b/bitlair_closed.d/20_music_poweroff @@ -3,9 +3,9 @@ ssh -o ConnectTimeout=1 root@music.bitlair.nl mpc pause ssh -o ConnectTimeout=1 root@music.bitlair.nl shutdown -h now sleep 10 -apc-switch 13 off +apc-switch 18 off # Amplifier and KVM switch -apc-switch 20 off +apc-switch 19 off mqtt-simple -r -h mqtt.bitlair.nl -p 'bitlair/music/space/state' -m 'stopped' diff --git a/bitlair_open.d/20_music_poweron b/bitlair_open.d/20_music_poweron index 8566ba1..d279f74 100755 --- a/bitlair_open.d/20_music_poweron +++ b/bitlair_open.d/20_music_poweron @@ -1,8 +1,8 @@ #!/bin/bash -apc-switch 13 off +apc-switch 18 off # Switches on the music computer. -apc-switch 13 on +apc-switch 18 on # Amplifier and KVM switch -apc-switch 20 on +apc-switch 19 on