[RESEND PATCH] inotifyd: -x: new option
Denys Vlasenko
vda.linux at googlemail.com
Mon Aug 17 14:56:55 UTC 2015
On Tue, Aug 4, 2015 at 12:04 PM, Bartosz Golaszewski
<bartekgola at gmail.com> wrote:
> Add -x option which allows to specify the exit status of PROG for which
> inotifyd should exit.
>
> An example use case for this change is writing parallel system startup
> scripts with busybox' runit: inotifyd can be used to wait for a specific
> pid-file to appear in /var/run and then exit, allowing the blocked script
> to proceed.
How about using this PROG?
#/bin/sh
kill $PPID
More information about the busybox
mailing list