enhance EXIT_DEPENDS
diff --git a/bin/system_manager.py b/bin/system_manager.py
index b33f78f..0ef92c4 100755
--- a/bin/system_manager.py
+++ b/bin/system_manager.py
@@ -107,9 +107,10 @@
try:
cb = System.ENTER_STATE_CALLBACK[state_name]
- obj = bus.get_object(cb['bus_name'],cb['obj_name'])
- method = obj.get_dbus_method(cb['method_name'],cb['interface_name'])
- method()
+ for methd in cb.keys():
+ obj = bus.get_object(cb[methd]['bus_name'],cb[methd]['obj_name'])
+ method = obj.get_dbus_method(methd,cb[methd]['interface_name'])
+ method()
except:
pass