tariqbuilds / linux-dash

A beautiful web dashboard for Linux
https://afaqurk.github.io/linux-dash/
MIT License
10.43k stars 1.21k forks source link

Pi Raspbian issue linux_json_api-sh #496

Open Red7Hunter opened 4 years ago

Red7Hunter commented 4 years ago

Hello! First time installing and running...

I wasn't able to get only a few data collections to show on web interface.. I look around and found some examples of changing the _parseAndPrint.. but those didnt work I made a slight modification to othere people solutions.. I am also using node.

Commented out code _parseAndPrint() { while read data; do $ECHO -n "$data" | $SED -r 's/\//g' | $TR -d "\n"; done; }

New code:

_parseAndPrint() { while read data; do $ECHO -n "$data" done; }

Looks like everything is now outputing data.

Hope this helps.

Red.

Red7Hunter commented 4 years ago

Hmmm.. it doesnt seem to correct it all the time. I'll do some more testing tonight see if u can figure it out.

Red

VarChar42 commented 3 years ago

Had the same problem: https://github.com/afaqurk/linux-dash/issues/490 Reverting one commit fixed it.