11 lines
229 B
Bash
Executable File
11 lines
229 B
Bash
Executable File
#!/system/bin/sh
|
|
spath=$( cd "$(dirname "$0")" ; pwd -P )
|
|
cd $spath
|
|
|
|
source run.common
|
|
|
|
# Directly execute a command within the chroot of an Android device
|
|
CMD="$*"
|
|
|
|
chroot debian /bin/bash --rcfile '.bashrc.silent' -i -c "$CMD"
|