I have this script which works on my linux machine
#!/bin/sh c=1 if [ $c == 1 ] then echo c is 1 else echo c is 0 fi
But when I use this in
Use bash:
#!/system/bin/bash
or
#!/system/xbin/bash
You can check where your sh binary is pointing to on your Linux machine:
sh
ls -l /bin/sh
Edit
BTW, use:
c=1 if [ $c -eq 1 ] then echo c is 1 else echo c is 0 fi