blob: 22d6146b4d4e8fc603d95937ebed102a3474c22c [file] [log] [blame]
#include <sdbusplus/bus.hpp>
#include <sdbusplus/server/manager.hpp>
#include "settings_manager.hpp"
#include "config.h"
int main(int argc, char *argv[])
{
auto bus = sdbusplus::bus::new_default();
// Add sdbusplus ObjectManager for the settings root.
sdbusplus::server::manager::manager objManager(bus, SETTINGS_ROOT);
phosphor::settings::Manager mgr(bus);
bus.request_name(SETTINGS_BUSNAME);
while(true)
{
bus.process_discard();
bus.wait();
}
return 0;
}