aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-08-28 13:49:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-08-28 13:49:33 -0300
commit3a9a3f9eaabd4d2ffae6c7f2a2f5b7bfafb51592 (patch)
tree6aab6df9057e0cd224bfdfd19972d4fd503bbca3
parentd5fc015a6435b5bf33a7cb3021cae1ddfbc4d15d (diff)
downloadkvmx-3a9a3f9eaabd4d2ffae6c7f2a2f5b7bfafb51592.tar.gz
kvmx-3a9a3f9eaabd4d2ffae6c7f2a2f5b7bfafb51592.tar.bz2
Fix: halt should be an alias to stop and shutdown to poweroff
-rwxr-xr-xkvmx7
1 files changed, 6 insertions, 1 deletions
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