either "else unset BG" has to be added or different BG variable has to be used for each script if using line on multiple scripts because export BG sets variable on global level
but if "else unset BG" is added then superflush and bullet scripts will relaunch themself in background every time it flushes or bulletproofs
will try with different variables...
zepp could try the way script searches for {scriptname} after relaunch in ps -w or for checking if script has been run in terminal or not if that is possible...
---------- Post added at 12:21 AM ---------- Previous post was at 12:17 AM ----------
...but "ps | grep android" will always output "grep android" process, think that is the error as I thin it should be
?????
---------- Post added at 12:28 AM ---------- Previous post was at 12:21 AM ----------
phone booted after I added "grep -v grep" XD
:highfive:
but if "else unset BG" is added then superflush and bullet scripts will relaunch themself in background every time it flushes or bulletproofs
will try with different variables...
zepp could try the way script searches for {scriptname} after relaunch in ps -w or for checking if script has been run in terminal or not if that is possible...
---------- Post added at 12:21 AM ---------- Previous post was at 12:17 AM ----------
Wow whoever put those ADJs in build.prop has no clue...
I don't think that's it since 99SuperCharger behaves the same way as the last test.
The only difference is that I made it condional like so:
Whereas before it was a straightup HellzYeah &Code:if [ ! "`ps | grep android`" ]; then HellzYeah & else HellzYeah; fi;
So the only thing it can be is if an "android" process shows up "too soon"
Gonna need a logcat
...but "ps | grep android" will always output "grep android" process, think that is the error as I thin it should be
Code:
if [ ! "`ps | grep android | grep -v grep`" ]; then HellzYeah &
else HellzYeah;
fi;
?????
---------- Post added at 12:28 AM ---------- Previous post was at 12:21 AM ----------
phone booted after I added "grep -v grep" XD
:highfive: