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.
This commit is contained in:
parent
3194d77709
commit
8f83011f12
@ -13,7 +13,7 @@
|
||||
<string name="pref_fnkey_default">4</string>
|
||||
<string name="pref_ime_default">0</string>
|
||||
<string name="pref_shell_default">/system/bin/sh -</string>
|
||||
<string name="pref_initialcommand_default">export PATH=/data/local/bin:$PATH;export LD_LIBRARY_PATH=/data/local/lib:$LD_LIBRARY_PATH</string>
|
||||
<string name="pref_initialcommand_default"></string>
|
||||
<string name="pref_termtype_default">screen</string>
|
||||
<bool name="pref_close_window_on_process_exit_default">true</bool>
|
||||
<bool name="pref_verify_path_default">true</bool>
|
||||
|
Loading…
Reference in New Issue
Block a user