From b2e55cc70d134afe3966fbc167235f92f176231a Mon Sep 17 00:00:00 2001 From: Valentin Ochs Date: Wed, 10 Mar 2021 22:22:22 +0100 Subject: [PATCH] rename test.py -> door.py --- .gitignore | 2 +- Makefile | 6 +++--- root_overlay/bin/watcher | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2fc4603..d6568c1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ /root_overlay/etc/door_tokens /root_overlay/etc/dropbear /root_overlay/root/key -/root_overlay/bin/test.py +/root_overlay/bin/door.py /root_overlay/bin/poll_desfire /root_overlay/etc/wpa_supplicant /root_overlay/root/.ssh/authorized_keys diff --git a/Makefile b/Makefile index 85017d1..dca12f5 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ sdcard.img: buildroot/.config make -C buildroot all cp buildroot/output/images/sdcard.img sdcard.img -root_overlay: root_overlay/bin/test.py +root_overlay: root_overlay/bin/door.py root_overlay: root_overlay/etc/door_tokens root_overlay: root_overlay/etc/dropbear/dropbear_ecdsa_host_key root_overlay: root_overlay/etc/wpa_supplicant/wpa_supplicant.conf @@ -29,7 +29,7 @@ root_overlay/root/key: mkdir -p `dirname $@` dd if=/dev/urandom of=$@ bs=1 count=16 -root_overlay/bin/test.py: door_control/door.py +root_overlay/bin/door.py: door_control/door.py mkdir -p `dirname $@` cp $< $@ @@ -46,7 +46,7 @@ clean: make -C buildroot clean rm -f sdcard.img rm -f root_overlay/root/.ssh/authorized_keys - rm -f root_overlay/bin/test.py + rm -f root_overlay/bin/door.py menuconfig: make -C buildroot menuconfig diff --git a/root_overlay/bin/watcher b/root_overlay/bin/watcher index 23e90d8..cf13ab5 100755 --- a/root_overlay/bin/watcher +++ b/root_overlay/bin/watcher @@ -1,6 +1,6 @@ #!/bin/sh while true; do start-stop-daemon -S -m -p /tmp/poll_desfire.pid -x /bin/poll_desfire -b -- /root/key /tmp/nfc_fifo - start-stop-daemon -v -p /tmp/fcpy.pid -S -b -m -v -x /usr/bin/python -- /bin/test.py + start-stop-daemon -v -p /tmp/fcpy.pid -S -b -m -v -x /usr/bin/python -- /bin/door.py sleep 30 done