mirror of https://gitlab.com/Nanolx/NanoDroid
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
301 B
Bash
16 lines
301 B
Bash
#!/system/bin/sh
|
|
# bash: wrapper to set up and run bash from terminal
|
|
# osm0sis @ xda-developers
|
|
# adopted to GNU Bash setialpha @ xda-developers
|
|
|
|
dir="$(cd "$(dirname "$0")"; pwd)"
|
|
|
|
if [ "$1" == "--term" ]; then
|
|
term=$2;
|
|
shift 2;
|
|
else
|
|
term=xterm
|
|
fi
|
|
|
|
${dir}/bash.bin --rcfile /system/etc/bashrc $*
|