Thread
:
[Support thread] Billboard Standby Screen
View Single Post
danested
2013-04-27 , 18:52
Posts: 179 | Thanked: 108 times | Joined on Dec 2011 @ Bangalore
#
828
For some reason billboard doesn't work with just the shell file path after {script:
it started working after I appended sh before .sh files and python before .py files.
like
Code:
{script:sh gprs.sh} {script:python uptime.py}
Is this just me or is this for everyone? If its for everyone then the instructions in about should be updated
The script for gprs did not work because the total downloaded data is in excess of 6.5 GB which translates to a large number of bytes, i think it has something to do with the ceiling of division in bash. I installed
bc
to perform the division and it works with large numbers now.
Code:
apt-get install bc
I've modified it to recognize if it needs to represent the data in
bytes, kB, MB or GB
. I've attached the script here if anyone wants it, but you'll have to install bc before it works as expected.
__________________
My Contributions
Why I would still prefer the N9 with a two year old processor
Last edited by danested; 2013-04-29 at
05:02
.
Quote & Reply
|
danested
View Public Profile
Send a private message to danested
Find all posts by danested