From 3a9a3f9eaabd4d2ffae6c7f2a2f5b7bfafb51592 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 28 Aug 2020 13:49:33 -0300 Subject: Fix: halt should be an alias to stop and shutdown to poweroff --- kvmx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kvmx b/kvmx index 11ee5bb..0581da9 100755 --- a/kvmx +++ b/kvmx @@ -1038,10 +1038,15 @@ function kvmx_down { } # Alias for poweroff -function kvmx_halt { +function kvmx_shutdown { kvmx_poweroff } +# Alias for stop +function kvmx_halt { + kvmx_stop +} + # Hibernate function kvmx_hibernate { if ! kvmx_running; then -- cgit v1.2.3