Browse Source

Merge #141: stop-target: use poweroff instead of halt

75502b0 stop-target: use poweroff instead of halt (Nicolas Vigier)
pull/152/head
Devrandom 5 years ago
parent
commit
3ae6bb9ff2
No known key found for this signature in database
GPG Key ID: 28EB4B0FB7AAF6B0
  1. 2
      libexec/stop-target

2
libexec/stop-target

@ -11,7 +11,7 @@ case $VMSW in @@ -11,7 +11,7 @@ case $VMSW in
KVM)
if [ ! -e var/target.pid ]; then exit; fi
on-target -u root halt
on-target -u root poweroff
sleep 5
if [ ! -e var/target.pid ]; then exit; fi

Loading…
Cancel
Save