[gnome-hwtest] Halt rather than poweroff the target system



commit c9dc50ede53c01f323d145e3f33e2ea02d6979c4
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Jul 22 17:25:55 2014 -0400

    Halt rather than poweroff the target system
    
    At least on one test system, the BIOS option to turn the machine on
    when power is restored distinguishes from a system-generated power
    off to one not generated by the system, so after updating or running
    tests, use 'systemctl halt' not 'systemctl poweroff'.

 src/gnome-hwtest-runner  |    2 +-
 src/gnome-hwtest-updater |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-hwtest-runner b/src/gnome-hwtest-runner
index 1ba1528..5b7376a 100644
--- a/src/gnome-hwtest-runner
+++ b/src/gnome-hwtest-runner
@@ -35,4 +35,4 @@ systemctl start graphical.target
 journalctl -b -f --no-tail MESSAGE_ID=26a5224162874504864dfa03bf255c8d 
SYSLOG_IDENTIFIER=gnome-shell-perf-tool \
     | while read dummy ; do break ; done
 
-systemctl poweroff
+systemctl halt
diff --git a/src/gnome-hwtest-updater b/src/gnome-hwtest-updater
index 25f6666..ea1d683 100644
--- a/src/gnome-hwtest-updater
+++ b/src/gnome-hwtest-updater
@@ -29,4 +29,4 @@ ostree admin --sysroot=$sysroot deploy --os=gnome-continuous gnome-hwtest-update
 umount $sysroot/boot
 umount $sysroot
 
-systemctl poweroff
+systemctl halt


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]