configuration script does not get run when (manually) adding a device
Advanced > Configuration > Device Templates
select pluto manufacturer
select computer category and press 'Add Device Template'
give it a name: testdevice
on the commandline create a test script:
sudo echo -n "#" > /usr/pluto/bin/test.sh && echo -n ! >> /usr/pluto/bin/test.sh && echo $'/bin/sh\n\necho date
"$0" > /tmp/test.log' >> /usr/pluto/bin/test.sh
sudo chmod a+x /usr/pluto/bin/test.sh
then add test.sh to the Configuration script entry in the template. Press save. Advanced > Configuration > Devices press: add a top level device press: Pick device template select testdevice in the Device Template drop down press: pick device template
the device will show RUN_CONFIG but the file /tmp/test.log does not get created.