Commit | Line | Data |
---|---|---|
5c7e02d7 FF |
1 | #!/bin/sh |
2 | ||
3 | if [ -x /system/xbin/su ]; then | |
391aa3d4 FF |
4 | # The su tool may require programs from /system/bin in path: |
5 | PATH=/system/bin:$PATH /system/xbin/su $@ | |
5c7e02d7 FF |
6 | else |
7 | echo "There is no su program on this device. Termux" | |
8 | echo "does not supply tools for rooting, see e.g." | |
9 | echo "http://www.androidcentral.com/root for" | |
10 | echo "information about rooting Android." | |
11 | exit 1 | |
12 | fi |