am bf403968: Merge "Lose setprop to toybox."
* commit 'bf403968878fca07c6df98852e8958ddda365bab': Lose setprop to toybox.
This commit is contained in:
commit
6994d3fa7a
2 changed files with 0 additions and 19 deletions
|
|
@ -55,7 +55,6 @@ OUR_TOOLS := \
|
|||
prlimit \
|
||||
renice \
|
||||
sendevent \
|
||||
setprop \
|
||||
start \
|
||||
stop \
|
||||
top \
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue