commit | af4ff94581bafa922e84b75b8eeff8b7e821328d | [log] [tgz] |
---|---|---|
author | Amithash Prasad <amithash@fb.com> | Fri Mar 08 14:24:26 2019 -0800 |
committer | Amithash Prasad <amithash@fb.com> | Fri Mar 08 14:26:48 2019 -0800 |
tree | 65800cff5720a3d123421ca5958923ef395b0bfc | |
parent | d84f10b1469a26618387a313b9b4530ecf9626be [diff] [blame] |
Add support for reset, cycle and sled-cycle. Remove the requirement of the fru-id 1 from the command line. Add support to reset and cycle the server Add support to cycle the entire sled (Through the hotswap controller) Basic checks during power on/off to ensure valid initial steps. Change-Id: If43dd976fd034b8838c021d171f81d0d60b464eb Signed-off-by: Amithash Prasad <amithash@fb.com>
diff --git a/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/host-poweroff.service b/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/host-poweroff.service index 95c7708..d23ef90 100644 --- a/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/host-poweroff.service +++ b/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/host-poweroff.service
@@ -5,5 +5,5 @@ [Service] Type=oneshot -ExecStart=/usr/sbin/power-util mb 1 off +ExecStart=/usr/sbin/power-util mb off SyslogIdentifier=power-util