[PATCH skeleton 12/15] add softreboot

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Dec 19 10:40:32 AEDT 2015


From: Norman James <njames at us.ibm.com>

---
 bin/chassis_control.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/chassis_control.py b/bin/chassis_control.py
index 8ae0f55..1981a82 100755
--- a/bin/chassis_control.py
+++ b/bin/chassis_control.py
@@ -132,6 +132,8 @@ class ChassisControlObject(Openbmc.DbusProperties,Openbmc.DbusObjectManager):
 			self.powerOff()
 		return None
 
+	@dbus.service.method(DBUS_NAME,
+		in_signature='', out_signature='')
 	def softReboot(self):
 		print "Soft Rebooting"
 		if self.getPowerState() == POWER_OFF:
-- 
2.6.3




More information about the openbmc mailing list