1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 18:34:25 +01:00
doorlockd-mirror/doorlockd/scripts/post_unlock
Ralf Ramsauer 660a7297ee scripts: Wake up cashdesk PC
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-07-18 21:17:30 +02:00

11 lines
327 B
Bash
Executable File

#!/bin/bash
# Set blue moodlights
mosquitto_pub -h sushi.binary.kitchen -t "kitchen/moodlights/set/a" -m "#0000ff"
mosquitto_pub -h sushi.binary.kitchen -t "kitchen/moodlights/set/a" -m "#0000ff"
# Wakeup cashdesk
wol -i 172.23.2.44 00:0b:ca:94:10:ca
wol -i 172.23.2.44 00:0b:ca:94:10:ca
wol -i 172.23.2.44 00:0b:ca:94:10:ca