On 28 January 2013 13:26, Zbigniew Jędrzejewski-Szmek <zbys...@in.waw.pl> wrote: >> Any ideas how to stream out only new events? Ideally both open & close? > I now added MESSAGE_IDs to logind events: > #define SD_MESSAGE_LID_OPENED > SD_ID128_MAKE(b7,2e,a4,a2,88,15,45,a0,b5,0e,20,0e,55,b9,b0,6f) > #define SD_MESSAGE_LID_CLOSED > SD_ID128_MAKE(b7,2e,a4,a2,88,15,45,a0,b5,0e,20,0e,55,b9,b0,70) > You can reliably filter on those.
Are there globs or ways to filter on both at the same time? Thanks, _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel