rename test.py -> door.py
This commit is contained in:
parent
7a439df1bc
commit
b2e55cc70d
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
|
||||
|
|
6
Makefile
6
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user