SATS/daemon

11 lines
208 B
Bash
Executable File

#!/bin/sh
ABSPATH=$( dirname $(realpath $0) );
# (1) Check synchronization done #
if [ ! -e /target/sync ]; then
slog "[!] not synced yet, aborting" - "daemon" && exit 127;
fi;
$ABSPATH/lib/mfrc522/loop;