Merge branch 'master' of http://137.74.140.105/simono41/shell-scripte
This commit is contained in:
commit
23f05e2d76
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ set -ex
|
||||||
|
|
||||||
HOME=/storage/emulated/0
|
HOME=/storage/emulated/0
|
||||||
PREFIX=/data/data/com.termux/files/usr
|
PREFIX=/data/data/com.termux/files/usr
|
||||||
ROOT_HOME=$HOME/.suroot
|
ROOT_HOME=$HOME
|
||||||
ROOT_SHELL=$PREFIX/bin/bash
|
ROOT_SHELL=$PREFIX/bin/bash
|
||||||
mkdir -p $HOME/.suroot
|
#mkdir -p $HOME/.suroot
|
||||||
|
|
||||||
su --preserve-environment -c "LD_LIBRARY_PATH=$PREFIX/lib HOME=$ROOT_HOME $ROOT_SHELL"
|
su --preserve-environment -c "LD_LIBRARY_PATH=$PREFIX/lib HOME=$ROOT_HOME $ROOT_SHELL"
|
||||||
|
|
Loading…
Reference in a new issue