Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3da8e5ea authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Lose setprop to toybox.

Change-Id: Ic0fd9cfb70e117067f4ebc5e120dea4b5fe1d883
parent 5ae7b1e5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -55,7 +55,6 @@ OUR_TOOLS := \
    prlimit \
    renice \
    sendevent \
    setprop \
    start \
    stop \
    top \

toolbox/setprop.c

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
#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;
}