View Single Post
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#147
Hey guys nice work. Let me give some input to it.

You shouldn't use killall as many of us have been mentioning. For example, `killall browser browserd` would cause the device to reboot, if you don't believe me try running that command repeatedly.

Therefore, you should really properly restart the processes instead of killing them. The following are some examples for your reference:

Code:
stop pulseaudio
start pulseaudio
sh /etc/init.d/tablet-browser-daemon.init restart
I'm planning to rewrite your script with this idea such that the optimization could be done more safely. Stay tune.^^
 

The Following 11 Users Say Thank You to 9000 For This Useful Post: