diff options
author | Elliott Hughes <enh@google.com> | 2015-04-08 03:27:19 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-08 03:27:20 +0000 |
commit | bf403968878fca07c6df98852e8958ddda365bab (patch) | |
tree | 553077a6bd6de0f22e1661fa1143ec83e4700d43 /toolbox | |
parent | de957955522cdb433e3615abe2022afd180c4e49 (diff) | |
parent | 3da8e5ea97c6df5afc04b5561513e94de7475262 (diff) | |
download | system_core-bf403968878fca07c6df98852e8958ddda365bab.zip system_core-bf403968878fca07c6df98852e8958ddda365bab.tar.gz system_core-bf403968878fca07c6df98852e8958ddda365bab.tar.bz2 |
Merge "Lose setprop to toybox."
Diffstat (limited to 'toolbox')
-rw-r--r-- | toolbox/Android.mk | 1 | ||||
-rw-r--r-- | toolbox/setprop.c | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk index 15c4364..a866400 100644 --- a/toolbox/Android.mk +++ b/toolbox/Android.mk @@ -55,7 +55,6 @@ OUR_TOOLS := \ prlimit \ renice \ sendevent \ - setprop \ start \ stop \ top \ diff --git a/toolbox/setprop.c b/toolbox/setprop.c deleted file mode 100644 index 63ad2b4..0000000 --- a/toolbox/setprop.c +++ /dev/null @@ -1,18 +0,0 @@ -#include <stdio.h> - -#include <cutils/properties.h> - -int setprop_main(int argc, char *argv[]) -{ - if(argc != 3) { - fprintf(stderr,"usage: setprop <key> <value>\n"); - return 1; - } - - if(property_set(argv[1], argv[2])){ - fprintf(stderr,"could not set property\n"); - return 1; - } - - return 0; -} |