Skip to content

Instantly share code, notes, and snippets.

View fenajojuk's full-sized avatar

[̲̅H̲̅][̲̅a̲̅][̲̅k̲̅][̲̅a̲̅][̲̅n̲̅] fenajojuk

View GitHub Profile
@fenajojuk
fenajojuk / termux-su
Created July 21, 2022 22:59 — forked from cswl/termux-su
DEPRECATED: Use https://github.com/cswl/tsu instead.
#!/data/data/com.termux/files/usr/bin/sh
# sudo for Termux
# For security reasons some environent variables are reset by su
# So we need to set LD_LIBRARY_PATH
# Root's HOME is set to 'termux's home/.suroot'.
# Startup files and other stuffs can be added there.
ROOT_HOME=$HOME/.suroot