pisensors install should create sensor registration directory.
|Status:||Closed||Start date:||27 Oct 2019|
|Target version:||Iron Man - 0.5.0|
|Severity:||03 - Medium|
There is no /etc/ironman/iot on a fresh install of pisensors so it fails to start. Creating that directory allows the app to start with no sensors configured.
Fix: add the following to postinst script for pisensors.
mkdir -p /etc/ironman/iot
mkdir -p /etc/ironman/jarvis
The latter is needed for Jarvis management.
Note: This may not belong here - both might be created with the imrest (imwww app) installation instead.
RM #725: Make runserver.sh's #! call /bin/sh instead of /bin/bash to be more portable.