Advertisement
s243a

proot_debian_stable

Jul 16th, 2018
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.57 KB | None | 0 0
  1. #!/data/data/com.termux/files/usr/bin/sh
  2. # https://wiki.debian.org/ChrootOnAndroid # Ref only
  3. # https://wiki.termux.com/wiki/Debian # this is what the script is based on
  4. export SDCARD=/mnt/sdcard #Not needed
  5. #export ROOT=/data/data/jackpal.androidterm #Just in case
  6. export ROOT=/dara/data/com.termux/files/debian/stable #=~/debian/stable
  7.  
  8. proot -0 -r $ROOT -b /dev/ -b /sys/ -b /proc/ \
  9.       -b /data/data/com.termux/files/home /usr/bin/env \
  10.       -i HOME=/root TERM="xterm-256color" PS1='[root@stable \W]$ ' \
  11.       PATH=/bin:/usr/bin:/sbin:/usr/sbin:/bin /bin/bash --login
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement