fixed gpio
diff --git a/bin/Openbmc.py b/bin/Openbmc.py
index c81209f..485525c 100755
--- a/bin/Openbmc.py
+++ b/bin/Openbmc.py
@@ -48,6 +48,12 @@
 	'bool'  : 'dbus.Boolean'
 }
 
+def getSystemName():
+	#use filename as system name, strip off path and ext
+	parts = __file__.replace('.pyc','').replace('.py','').split('/')
+	return parts[len(parts)-1]
+
+
 def getDBus():
 	bus = None
 	if (BUS == "session"):