summaryrefslogtreecommitdiffstats
path: root/toolbox/stop.c
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:29:04 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:29:04 -0800
commite54eebbf1a908d65ee8cf80bab62821c05666d70 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /toolbox/stop.c
parenta1e1c1b106423de09bc918502e7a51d4ffe5a4ae (diff)
downloadsystem_core-e54eebbf1a908d65ee8cf80bab62821c05666d70.tar.gz
system_core-e54eebbf1a908d65ee8cf80bab62821c05666d70.tar.bz2
system_core-e54eebbf1a908d65ee8cf80bab62821c05666d70.zip
auto import from //depot/cupcake/@135843
Diffstat (limited to 'toolbox/stop.c')
-rw-r--r--toolbox/stop.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/toolbox/stop.c b/toolbox/stop.c
deleted file mode 100644
index 05baffd38..000000000
--- a/toolbox/stop.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <stdio.h>
-#include <string.h>
-
-#include <cutils/properties.h>
-
-int stop_main(int argc, char *argv[])
-{
- char buf[1024];
-
- if(argc > 1) {
- property_set("ctl.stop", argv[1]);
- } else{
- /* default to "stop runtime" "stop zygote" */
- property_set("ctl.stop", "runtime");
- property_set("ctl.stop", "zygote");
- }
-
- return 0;
-}
-