![]() |
Re: [Support thread] Billboard Standby Screen
There is an error in this script, it doesn't show nothing when data left <20%. Maybe that's why my modification doesn't work.
Quote:
|
Re: [Support thread] Billboard Standby Screen
herno24, i haven't looked at your modification but what i did worked for me, did you install bc and have dc already? If you don't have bc it wont work...
|
Re: [Support thread] Billboard Standby Screen
Quote:
Edit: I had not installed dc, but now it doesn't show nothing. Before installing dc I could see the MB consumed. |
Re: [Support thread] Billboard Standby Screen
Ok, i can see 248MB consumed in cyan but it should be displayed in red (because i have a total of 300 MB). Maybe an error in amount or in the IF condition?. This is my modification code:
Code:
#!/bin/sh |
Re: [Support thread] Billboard Standby Screen
herno24,
My script for what you want: Code:
#!/bin/sh http://db.tt/nPDeajjI http://db.tt/SAaJZR4J Edit: I hadn't read thp's post in the previous page; you can remove the {{cyan}} tag and add it to billboard instead so your data usage will be shown in whatever colour you want while the <20% warning will be in red always... |
Re: [Support thread] Billboard Standby Screen
Quote:
|
Re: [Support thread] Billboard Standby Screen
Quote:
10chars P.S. did you chmod 775 your sh file and is it in /home/user/ ? Edit 2: Do a sh /path/to/script as user in terminal to see if the output satisfies what you want before putting it into Billboard... |
Re: [Support thread] Billboard Standby Screen
Quote:
Code:
#!/bin/sh: not found |
Re: [Support thread] Billboard Standby Screen
Can you do a dc of those values manually in terminal not via sh script? Also why would it say #!/bin/sh not found? Is your text editor putting it correct? Why not just use vi(m) or nano on the phone via ssh otherwise to rule out your text editor...
|
Re: [Support thread] Billboard Standby Screen
Quote:
Code:
~ $ usage=$(gconftool -g /cellui/settings/datac |
All times are GMT. The time now is 21:13. |
vBulletin® Version 3.8.8