diff --git a/cmds/appwidget/appwidget b/cmds/appwidget/appwidget index 26ab1730250fb..cc70ca53d5dd4 100755 --- a/cmds/appwidget/appwidget +++ b/cmds/appwidget/appwidget @@ -1,6 +1,3 @@ #!/system/bin/sh -# Script to start "appwidget" on the device, which has a very rudimentary shell. -base=/system -export CLASSPATH=$base/framework/appwidget.jar -exec app_process $base/bin com.android.commands.appwidget.AppWidget "$@" - +export CLASSPATH=/system/framework/appwidget.jar +exec app_process /system/bin com.android.commands.appwidget.AppWidget "$@" diff --git a/cmds/bmgr/bmgr b/cmds/bmgr/bmgr index 60b5833e76962..b068d10dcbcf3 100755 --- a/cmds/bmgr/bmgr +++ b/cmds/bmgr/bmgr @@ -1,8 +1,3 @@ #!/system/bin/sh -# Script to start "bmgr" on the device, which has a very rudimentary -# shell. -# -base=/system -export CLASSPATH=$base/framework/bmgr.jar -exec app_process $base/bin com.android.commands.bmgr.Bmgr "$@" - +export CLASSPATH=/system/framework/bmgr.jar +exec app_process /system/bin com.android.commands.bmgr.Bmgr "$@" diff --git a/cmds/content/content b/cmds/content/content index f1bfe1737c5a7..91f2dfb16ac9e 100755 --- a/cmds/content/content +++ b/cmds/content/content @@ -1,6 +1,3 @@ #!/system/bin/sh -# Script to start "content" on the device, which has a very rudimentary shell. -base=/system -export CLASSPATH=$base/framework/content.jar -exec app_process $base/bin com.android.commands.content.Content "$@" - +export CLASSPATH=/system/framework/content.jar +exec app_process /system/bin com.android.commands.content.Content "$@" diff --git a/cmds/hid/hid b/cmds/hid/hid index 3931da1e2a858..43c76345c9e10 100755 --- a/cmds/hid/hid +++ b/cmds/hid/hid @@ -1,14 +1,9 @@ #!/system/bin/sh -# -# Script to start "hid" on the device, which has a very rudimentary -# shell. -# -base=/system -export CLASSPATH=$base/framework/hid.jar # Preload the native portion libhidcommand_jni.so to bypass the dependency # checks in the Java classloader, which prohibit dependencies that aren't # listed in system/core/rootdir/etc/public.libraries.android.txt. export LD_PRELOAD=libhidcommand_jni.so -exec app_process $base/bin com.android.commands.hid.Hid "$@" +export CLASSPATH=/system/framework/hid.jar +exec app_process /system/bin com.android.commands.hid.Hid "$@" diff --git a/cmds/input/input b/cmds/input/input index 54ab94762e5cd..2625eba171530 100755 --- a/cmds/input/input +++ b/cmds/input/input @@ -1,8 +1,3 @@ #!/system/bin/sh -# Script to start "input" on the device, which has a very rudimentary -# shell. -# -base=/system -export CLASSPATH=$base/framework/input.jar -exec app_process $base/bin com.android.commands.input.Input "$@" - +export CLASSPATH=/system/framework/input.jar +exec app_process /system/bin com.android.commands.input.Input "$@" diff --git a/cmds/media/media b/cmds/media/media index 8ada9145a4f76..00c3915f2e655 100755 --- a/cmds/media/media +++ b/cmds/media/media @@ -1,7 +1,3 @@ #!/system/bin/sh -# Script to start "media_cmd" on the device, which has a very rudimentary -# shell. -# -base=/system -export CLASSPATH=$base/framework/media.jar -exec app_process $base/bin com.android.commands.media.Media "$@" +export CLASSPATH=/system/framework/media.jar +exec app_process /system/bin com.android.commands.media.Media "$@" diff --git a/cmds/sm/sm b/cmds/sm/sm index 4bc859e0c3740..30eae00a990d7 100755 --- a/cmds/sm/sm +++ b/cmds/sm/sm @@ -1,7 +1,3 @@ #!/system/bin/sh -# Script to start "sm" on the device, which has a very rudimentary -# shell. -# -base=/system -export CLASSPATH=$base/framework/sm.jar -exec app_process $base/bin com.android.commands.sm.Sm "$@" +export CLASSPATH=/system/framework/sm.jar +exec app_process /system/bin com.android.commands.sm.Sm "$@" diff --git a/cmds/svc/svc b/cmds/svc/svc index 07b50fe6c7b50..c122e981e4c71 100755 --- a/cmds/svc/svc +++ b/cmds/svc/svc @@ -1,8 +1,3 @@ #!/system/bin/sh -# Script to start "am" on the device, which has a very rudimentary -# shell. -# -base=/system -export CLASSPATH=$base/framework/svc.jar -exec app_process $base/bin com.android.commands.svc.Svc $* - +export CLASSPATH=/system/framework/svc.jar +exec app_process /system/bin com.android.commands.svc.Svc "$@"