error handling
diff --git a/bin/Barreleye.py b/bin/Barreleye.py
index 436bec1..e32f559 100644
--- a/bin/Barreleye.py
+++ b/bin/Barreleye.py
@@ -279,7 +279,7 @@
}
SYSTEM_CONFIG['org.openbmc.sensors.Occ'] = {
- 'system_state' : 'HOST_UP',
+ 'system_state' : 'BOOTED',
'start_process' : True,
'monitor_process' : True,
'process_name' : 'sensor_occ.exe',
diff --git a/bin/eventlogger.py b/bin/eventlogger.py
index 95edfb8..131faec 100644
--- a/bin/eventlogger.py
+++ b/bin/eventlogger.py
@@ -35,7 +35,7 @@
json_dump = json.dumps(message)
print "EVENT_LOG: "+json_dump
- syslog.openlog('[OpenBmc]',logoption=syslog.LOG_PID)
+ syslog.openlog('OpenBmc',logoption=syslog.LOG_PID)
syslog.syslog(priority,json_dump)
syslog.closelog()
diff --git a/bin/sensor_manager.py b/bin/sensor_manager.py
index 0020a1a..9a193d6 100644
--- a/bin/sensor_manager.py
+++ b/bin/sensor_manager.py
@@ -38,8 +38,10 @@
self.sensor_cache = {}
@dbus.service.method(DBUS_NAME,
- in_signature='', out_signature='a{sv}')
+ in_signature='', out_signature='a{sa{sv}}')
def getSensorsAll(self):
+ ## this is probably not ok
+ ##sensors = []
return self.sensor_cache;
@dbus.service.method(DBUS_NAME,