2015-08-17 16:56 GMT+02:00 Denys Vlasenko <[email protected]>:
> On Tue, Aug 4, 2015 at 12:04 PM, Bartosz Golaszewski
> <[email protected]> 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

If we run inotifyd as root, but PROG drops root privileges, then this
will not work.

-- 
Best regards,
Bartosz Golaszewski
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to