1 #include <sdbusplus/bus.hpp> 2 3 #include "config.h" 4 5 int main() 6 { 7 auto bus = sdbusplus::bus::new_default(); 8 9 bus.request_name(BUSNAME); 10 11 while (true) 12 { 13 bus.process_discard(); 14 bus.wait(); 15 } 16 return 0; 17 } 18