1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-09-21 13:34:52 +02:00
doorlockd-mirror/share/doorlockd/scripts/post_unlock
Ralf Ramsauer 95c35e7c06 Let scriptdir depend on PREFIX
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-05 22:31:37 +00:00

9 lines
202 B
Bash
Executable File

#!/bin/bash
mosquitto_pub -r -t kitchen/frontdoor/status -m "unlocked"
# Wakeup cashdesk
wol -i 172.23.2.44 00:0b:ca:94:13:f1
wol -i 172.23.2.44 00:0b:ca:94:13:f1
wol -i 172.23.2.44 00:0b:ca:94:13:f1