On Tue, Sep 15, 2015 at 12:21 PM, Bartosz Gołaszewski <[email protected]> wrote: > 2015-08-25 15:39 GMT+02:00 Bartosz Golaszewski <[email protected]>: >> 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. > > Is there any chance of merging this? I suppose inotifyd in busybox is > loosely based on inotifywait from inotify-tools which has an option to > exit upon receiving an event.
No, I was not aware inotifywait exists. > It's also much cleaner then killing inotifyd from spawned processes. I think killing $PPID from children is a completely legitimate approach. Are you sure you aren't just feeling attachment to the work you did? This happens to me too. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
