Lose setprop to toybox.
Change-Id: Ic0fd9cfb70e117067f4ebc5e120dea4b5fe1d883
This commit is contained in:
parent
5ae7b1e5df
commit
3da8e5ea97
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…
Reference in a new issue