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

Commit bf403968 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Lose setprop to toybox."

parents de957955 3da8e5ea
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;
}