This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/data/data/com.termux/files/usr/bin/bash -e | |
| cd "${HOME}" | |
| ## termux-exec sets LD_PRELOAD so let's unset it before continuing | |
| unset LD_PRELOAD | |
| ## Workaround for Libreoffice, also needs to bind a fake /proc/version | |
| ## Default user is "kali" | |
| user="kali" | |
| home="/home/$user" | |
| start="sudo -u kali /bin/bash" |