On Mon, Jan 9, 2012 at 5:13 PM, Denys Vlasenko <[email protected]> wrote: > On Mon, Jan 9, 2012 at 4:58 PM, Natanael Copa <[email protected]> wrote: ... >> fork/exec'ing itself again would solve that. > > Well, not really, because we do not know WHEN to re-exec. > We don't know when new devices appear.
ofcourse... >> Do you have other applets >> that re-start themselves? I could send a new patch - including a >> comment with a reference for the ignore fd == -1 thingy. Or should we >> just exit the acpid and let a hook script restart it? > > I think a good solution is when hotplug machinery does something like > "sv t /var/service/acpid" whenever a new input device appears. That should work. I need to figure out how to do so with udev. mdev should be pretty straightforward. Thanks! So the original patch was good? You want me resend it with comment? -- Natanael Copa _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
