From 8f83011f12c3eaee305f18d5a4213d0bb5c835b4 Mon Sep 17 00:00:00 2001 From: Jack Palevich Date: Sun, 7 Oct 2012 01:18:26 -0700 Subject: [PATCH] Remove initial default command. I think for most users of Android Terminal emulator the default initial command (which adds /data/local/bin to the path) was not useful, because the directory /data/local/bin does not exist by default. The /data/local directory is special because its permissions are set so that it can be written to by the Android shell even on non-rooted phones. Therefore, it is possible for users of non-rooted phones to create the /data/local/bin directory, and then put executables into that dir, and then add it to their path, and then execute them as shell commands. But, in reality, most people who would go to the trouble of installing command-line applications tend to root their phone and set their phone up more like a normal Linux system. So there were very few people (possibly none) for which the default initial command string was useful. --- res/values/defaults.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/values/defaults.xml b/res/values/defaults.xml index 761c9cf..4ef4857 100644 --- a/res/values/defaults.xml +++ b/res/values/defaults.xml @@ -13,7 +13,7 @@ 4 0 /system/bin/sh - - export PATH=/data/local/bin:$PATH;export LD_LIBRARY_PATH=/data/local/lib:$LD_LIBRARY_PATH + screen true true