瀏覽代碼

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

75502b0 stop-target: use poweroff instead of halt (Nicolas Vigier)
pull/152/head
Devrandom 4 年之前
父節點
當前提交
3ae6bb9ff2
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      libexec/stop-target

+ 1
- 1
libexec/stop-target 查看文件

@@ -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…
取消
儲存