aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstandalone/android/runshell4
1 files changed, 4 insertions, 0 deletions
diff --git a/standalone/android/runshell b/standalone/android/runshell
index 1e5ec1b73..61e8301a1 100755
--- a/standalone/android/runshell
+++ b/standalone/android/runshell
@@ -49,6 +49,10 @@ buildtree () {
$cmd mkdir -p "$base/templates"
$cmd mkdir -p "$base/tmp"
+ echo "#!/system/bin/sh" > "$base/runshell"
+ echo "exec $base/lib/lib.start.so" >> "$base/runshell"
+ chmod 755 runshell
+
$cmd cat "$base/lib/lib.version.so" > "$base/installed-version"
$cmd echo "Installation complete"
}