mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 18:34:25 +01:00
Added new LED images and removed old templante.png
This commit is contained in:
parent
791904b799
commit
28d08ac40b
@ -98,10 +98,10 @@ target_include_directories(doorlock-client PRIVATE ${CMAKE_SOURCE_DIR})
|
|||||||
install(TARGETS doorlockd DESTINATION sbin/)
|
install(TARGETS doorlockd DESTINATION sbin/)
|
||||||
install(TARGETS doorlock-client DESTINATION bin/)
|
install(TARGETS doorlock-client DESTINATION bin/)
|
||||||
|
|
||||||
install(FILES img/template.png DESTINATION share/doorlockd/)
|
install(DIRECTORY images/ DESTINATION share/doorlockd/images
|
||||||
install(DIRECTORY scripts/ DESTINATION share/doorlockd/
|
FILES_MATCHING PATTERN "images/*.png"
|
||||||
FILES_MATCHING PATTERN "scripts/doorlockd-*"
|
PERMISSIONS WORLD_READ OWNER_READ GROUP_READ)
|
||||||
PERMISSIONS WORLD_EXECUTE WORLD_READ OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE OWNER_WRITE)
|
|
||||||
install(FILES scripts/doorlockd.service DESTINATION /etc/systemd/system/)
|
install(FILES scripts/doorlockd.service DESTINATION /etc/systemd/system/)
|
||||||
|
|
||||||
install(DIRECTORY scripts/ DESTINATION etc/doorlockd/
|
install(DIRECTORY scripts/ DESTINATION etc/doorlockd/
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#define DEFAULT_SERIAL_DEVICE "/dev/ttyAMA0"
|
#define DEFAULT_SERIAL_DEVICE "/dev/ttyAMA0"
|
||||||
#define DEFAULT_SERIAL_BAUDRATE 9600UL
|
#define DEFAULT_SERIAL_BAUDRATE 9600UL
|
||||||
|
|
||||||
#define TEMPLATE_LOCATION "@CMAKE_INSTALL_PREFIX@/share/doorlockd/template.png"
|
#define IMAGE_LOCATION "@CMAKE_INSTALL_PREFIX@/share/doorlockd/images/"
|
||||||
|
|
||||||
#define PRE_LOCK_SCRIPT "@CMAKE_INSTALL_PREFIX@/etc/doorlockd/pre_lock &"
|
#define PRE_LOCK_SCRIPT "@CMAKE_INSTALL_PREFIX@/etc/doorlockd/pre_lock &"
|
||||||
#define POST_LOCK_SCRIPT "@CMAKE_INSTALL_PREFIX@/etc/doorlockd/post_lock &"
|
#define POST_LOCK_SCRIPT "@CMAKE_INSTALL_PREFIX@/etc/doorlockd/post_lock &"
|
||||||
|
BIN
doorlockd/images/led-green-off.png
Normal file
BIN
doorlockd/images/led-green-off.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
BIN
doorlockd/images/led-green-on.png
Normal file
BIN
doorlockd/images/led-green-on.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
BIN
doorlockd/images/led-red-off.png
Normal file
BIN
doorlockd/images/led-red-off.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
BIN
doorlockd/images/led-red-on.png
Normal file
BIN
doorlockd/images/led-red-on.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.4 KiB |
Loading…
Reference in New Issue
Block a user