am bf403968: Merge "Lose setprop to toybox."

* commit 'bf403968878fca07c6df98852e8958ddda365bab':
  Lose setprop to toybox.
This commit is contained in:
Elliott Hughes 2015-04-08 03:33:45 +00:00 committed by Android Git Automerger
commit 6994d3fa7a
2 changed files with 0 additions and 19 deletions

View file

@ -55,7 +55,6 @@ OUR_TOOLS := \
prlimit \
renice \
sendevent \
setprop \
start \
stop \
top \

View file

@ -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;
}