I want to stop and start tasker by itself via a bashscript since I see no other way to do so. This works if you put in terminal line by line:
am force-stop net.dinglisch.android.taskerm
am start -a android.intent.action.MAIN -n net.dinglisch.android.taskerm/net.dinglisch.android.taskerm.Tasker
But now I'm stock
My guess was that it would have to work if i put in a file "kst.sh" and run
as root. But it doesn't work and it seems to ignore the linebreaks in the file.
So here I am, knowing the commands and need to run them with one call. How do I do that?