From 8ae61af54ac0cf7c4c2d379b6cafda8119e79c24 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 23 Jun 2017 16:54:15 +0200 Subject: [PATCH] tsu --- tsu.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tsu.sh diff --git a/tsu.sh b/tsu.sh new file mode 100755 index 0000000..b3897ec --- /dev/null +++ b/tsu.sh @@ -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"