2017-01-26 13:23:50 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2017-01-30 09:39:45 +00:00
|
|
|
ABSPATH=$( dirname $(realpath $0) );
|
2017-01-26 13:23:50 +00:00
|
|
|
|
2017-07-21 10:44:45 +00:00
|
|
|
# (1) Check synchronization done #
|
|
|
|
if [ ! -e /target/sync ]; then
|
|
|
|
slog "[!] not synced yet, aborting" - "daemon" && exit 127;
|
|
|
|
fi;
|
|
|
|
|
2017-01-30 09:39:45 +00:00
|
|
|
$ABSPATH/lib/mfrc522/loop;
|