summaryrefslogtreecommitdiff
path: root/meta-fii/meta-kudo/recipes-phosphor/watchdog
diff options
context:
space:
mode:
Diffstat (limited to 'meta-fii/meta-kudo/recipes-phosphor/watchdog')
-rw-r--r--meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service2
-rw-r--r--meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service
index 9586368b5..1baf4ca30 100644
--- a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service
+++ b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service
@@ -4,5 +4,5 @@ Description=Watchdog power state power cycle shutdown
[Service]
Type=oneshot
RemainAfterExit=no
-ExecStart=/usr/bin/env kudo.sh rst shutdown
+ExecStart=/usr/bin/env ampere_power_util.sh mb off
SyslogIdentifier=phosphor-watchdog
diff --git a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service
index fb6614e49..b6d453f51 100644
--- a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service
+++ b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service
@@ -4,5 +4,5 @@ Description=Watchdog power state reset system
[Service]
Type=oneshot
RemainAfterExit=no
-ExecStart=/usr/bin/env kudo.sh rst system
+ExecStart=/usr/bin/env ampere_power_util.sh mb force_reset
SyslogIdentifier=phosphor-watchdog