From: Michael Gebetsroither Date: Sun, 15 Sep 2019 18:23:31 +0000 (+0200) Subject: torwaechter: delete notes about door_daemon integration X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=e685d22db370033b37dd2ceb5242a851e198a2be;p=noc.git torwaechter: delete notes about door_daemon integration intentionally kept them in history, maybe usefull for someone in the future --- diff --git a/ansible/roles/openwrt/image/tasks/door_daemon.yml b/ansible/roles/openwrt/image/tasks/door_daemon.yml deleted file mode 100644 index 7055426..0000000 --- a/ansible/roles/openwrt/image/tasks/door_daemon.yml +++ /dev/null @@ -1,33 +0,0 @@ ---- - -# FIXME - only used as a notepad for necessary steps -# -# -## Document current state (hack to make it just work till next reboot) -# -# - does not work after reboot, needs to be manually synced over -# - wrong locations because ext4 from torwaechter is RO because of fs-errors -# - /run is missing on torwaechter? (is the latest ansible applied on torwaechter?) -# - properly run as tuerd (just guessed, but user/groups seem to be thought for this) -# -## Open Questions -# -# - how to integrate updates of key file (currently just synced once) -# - where to store key file -# -## TODO -# -# - proper rc.common init script (just put into start()/stop()/restart() functions) -# - start at boot, create a boot() function and call start there in the init script -# - check status of door_client and open/close via ssh -# -## CMDs to make the hack work -# -# files for usb device /dev/door (available on device, but could not find them in any repo) -# rsync door_and_sensors/scripts/door.tty root@torwaechter.mgmt.realraum.at:/etc/hotplug.d/tty/ -# rsync door_and_sensors/scripts/door.usb root@torwaechter.mgmt.realraum.at:/etc/hotplug.d/usb/ - -# files for door_daemon -# rsync door_and_sensors/initscripts/tuer_core.openwrt root@torwaechter.mgmt.realraum.at:/tmp/tuer_core -# rsync door_and_sensors/initscripts/tuer.default root@torwaechter.mgmt.realraum.at:/tmp/tuer -# rsync keys/keys root@torwaechter.mgmt.realraum.at:/tmp/keys