Reporting doesnt use the correct pineap.log path when its not in the default location /tmp/

Device: NANO
Type: Bug
Status: Closed

In Logging/PineAP Log I've set the Location to /sd/ and in Reporting/Report Contents I've set "PineAP Log" and "Clear when done" but the script /pineapple/modules/Reporting/files/reporting has a hardcoded path /tmp/pineap.log so it doesnt find the correct file and it doesnt clear it.

Comments:

Sleo
2016/01/23 20:20
Also the clear option runs echo "" > /tmp/pineap.log which adds a newline to the start of the file, it would be better to skip the newline by doing echo -n ""

Add Comment:

Please log in to comment.