pon., 3 cze 2019 o 14:24 Kevin Welsh <kwelsh@xxxxxxxxxxxxxxxxxxxxx> napisał(a): > > I am trying to make gpiomon into a daemon using busybox. (start-stop-daemon -b) Instead of writing a message to stdout, I need it to execute a script. My use case is that I need a button press (gpio) to undo setting a static IP. > > If I set - -format="touch buttton-was-pressed|sh" > > Is this a valid command to make into a daemon? If not, can I submit a patch to include a parameter for executing a script? Hi Kevin, I didn't see this message because you didn't Cc me personally. Yes your example would work i.e. gpiomon would print this string on a GPIO event. Executing scripts is on my TODO list, but your contribution will be more than welcome. :) Best regards, Bartosz Golaszewski