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"):
diff --git a/bin/Palmetto.py b/bin/Palmetto.py
index 03b4648..396d931 100755
--- a/bin/Palmetto.py
+++ b/bin/Palmetto.py
@@ -8,9 +8,7 @@
FRU_PATH = CACHE_PATH+'frus/'
FLASH_DOWNLOAD_PATH = "/tmp"
-#use filename as system name, strip off path and ext
-parts = __file__.replace('.pyc','').split('/')
-SYSTEM_NAME = parts[len(parts)-1]
+SYSTEM_NAME = "Palmetto"
SYSTEM_STATES = [
'INIT',