]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fix: halt should be an alias to stop and shutdown to poweroff
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Aug 2020 16:49:33 +0000 (13:49 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Aug 2020 16:49:33 +0000 (13:49 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 11ee5bb364edb338c039c64b513e214a614f8b46..0581da93381571891216e03fb4576057df491b2c 100755 (executable)
--- 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