summaryrefslogtreecommitdiffstats
path: root/tach_detect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tach_detect.cpp')
-rw-r--r--tach_detect.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tach_detect.cpp b/tach_detect.cpp
new file mode 100644
index 0000000..9b2ccd1
--- /dev/null
+++ b/tach_detect.cpp
@@ -0,0 +1,15 @@
+#include <vector>
+#include <sdbusplus/bus.hpp>
+
+int main(void)
+{
+ auto bus = sdbusplus::bus::new_default();
+
+ while (true)
+ {
+ // Respond to dbus signals
+ bus.process_discard();
+ bus.wait();
+ }
+ return 0;
+}
OpenPOWER on IntegriCloud