|
||||
Re: [TESTING] SCBS: Improved battery meter system
I solved my problem of scbs blowing up logcat by starting scbs as a service...
I created a shell script called scbs.sh and placed it in /bin Code:
#!/bin/sh scbsargs=`cat /sdcard/scbsargs.conf` if [ ! "$scbsargs" == "" ] ; then if [ ! -f /dev/scbs0 ] ; then dev=$(cat /sys/class/scbs/0/dev | sed -e "s/:/ /g") mknod /dev/scbs0 c $dev fi scbs $scbsargs fi Code:
-d -co /sdcard/scbs.conf -lf /dev/null Code:
service scbs /bin/scbs.sh oneshot
__________________
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega
|
|
Tags |
battery, tp2 |
|
|