main: instantiate sysrepo LEDs implementation
Change-Id: I4e2a94be7b2832406bfca6401ec42ec2b6848679
diff --git a/src/main-system.cpp b/src/main-system.cpp
index afa41bc..ec087f2 100644
--- a/src/main-system.cpp
+++ b/src/main-system.cpp
@@ -10,6 +10,7 @@
#include "system_vars.h"
#include "system/IETFInterfaces.h"
#include "system/IETFSystem.h"
+#include "system/LED.h"
#include "utils/exceptions.h"
#include "utils/exec.h"
#include "utils/journal.h"
@@ -101,6 +102,8 @@
auto srSess2 = std::make_shared<sysrepo::Session>(srConn);
auto authentication = velia::system::Authentication(srSess2, REAL_ETC_PASSWD_FILE, REAL_ETC_SHADOW_FILE, AUTHORIZED_KEYS_FORMAT, velia::system::impl::changePassword);
+ auto leds = velia::system::LED(srConn, "/sys/class/leds");
+
DBUS_EVENTLOOP_END
return 0;
} catch (std::exception& e) {