commit | 5e792e34b835a713ae1ccf08f5531145f45c4887 | [log] [tgz] |
---|---|---|
author | Norman James <nkskjames@gmail.com> | Wed Oct 07 17:36:17 2015 -0500 |
committer | Norman James <nkskjames@gmail.com> | Wed Oct 07 17:36:17 2015 -0500 |
tree | 93a738c31a91660b884dab0e4885ce34463fa53b | |
parent | f066e8788629ed134f7595b6b1c0b5bc955eaed9 [diff] [blame] |
made bus config global and moved to system bus
diff --git a/bin/ipmi_example.py b/bin/ipmi_example.py index fc9123b..33847e5 100644 --- a/bin/ipmi_example.py +++ b/bin/ipmi_example.py
@@ -39,7 +39,8 @@ if __name__ == '__main__': #dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) - bus = dbus.SessionBus() + bus = Openbmc.getDBus() + #name = dbus.service.BusName(DBUS_NAME,bus) #mainloop = gobject.MainLoop()