Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame^] | 1 | #include <vector> |
2 | #include <sdbusplus/bus.hpp> | ||||
3 | |||||
4 | int main(void) | ||||
5 | { | ||||
6 | auto bus = sdbusplus::bus::new_default(); | ||||
7 | |||||
8 | while (true) | ||||
9 | { | ||||
10 | // Respond to dbus signals | ||||
11 | bus.process_discard(); | ||||
12 | bus.wait(); | ||||
13 | } | ||||
14 | return 0; | ||||
15 | } |