mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Allow for gracefull shutdows
This commit is contained in:
parent
f71660e471
commit
8640a0207f
2
power.sh
2
power.sh
@ -36,7 +36,7 @@ _graceful_shutdown(){
|
||||
# Don't send the powerdown signal because Synology ignores it
|
||||
# echo 'system_powerdown' | nc -q 1 -w 1 localhost "${QEMU_MONPORT}">/dev/null
|
||||
|
||||
if (($AGENT_VERSION < 2)); then
|
||||
if ((AGENT_VERSION < 2)); then
|
||||
echo "Please update the agent to allow gracefull shutdowns..."
|
||||
pkill -f qemu-system-x86_64
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user