This commit is contained in:
Your Name 2017-06-23 16:54:15 +02:00
parent 2fd0d7f8cd
commit 8ae61af54a

5
tsu.sh Executable file
View file

@ -0,0 +1,5 @@
ROOT_HOME=$HOME/.suroot
ROOT_SHELL=$PREFIX/bin/bash
mkdir $HOME/.suroot
su --preserve-environment -c "LD_LIBRARY_PATH=$PREFIX/lib HOME=$ROOT_HOME $ROOT_SHELL"