aboutsummaryrefslogtreecommitdiffstats
path: root/setprop.c
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2013-05-13 16:47:14 -0700
committerKoushik Dutta <koushd@gmail.com>2013-05-13 16:47:14 -0700
commitc6834e32a0bfef51cc24d86d4955ffe078d2f746 (patch)
tree454c570b889fc7407683ffd770f0250f26b69bba /setprop.c
parentabc56ea91d926d80e15146e561f4414d207d22ee (diff)
downloadbootable_recovery-c6834e32a0bfef51cc24d86d4955ffe078d2f746.zip
bootable_recovery-c6834e32a0bfef51cc24d86d4955ffe078d2f746.tar.gz
bootable_recovery-c6834e32a0bfef51cc24d86d4955ffe078d2f746.tar.bz2
add getprop
Change-Id: Id7a87626d2351d49750e9982d6f81d2646d9d36d
Diffstat (limited to 'setprop.c')
-rw-r--r--setprop.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/setprop.c b/setprop.c
deleted file mode 100644
index 63ad2b4..0000000
--- a/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;
-}