Browse Source

Add halt command

umbrel-beta
Luke Childs 4 years ago
parent
commit
fe9737f625
  1. 12
      umbrel-dev

12
umbrel-dev

@ -46,6 +46,11 @@ boot() {
vagrant up
}
# Halt the development VM
halt() {
vagrant halt
}
# Show help text if no args set or help is called
if [[ -z ${1+x} ]] || [[ "$1" = "help" ]]; then
show_help
@ -67,3 +72,10 @@ if [[ "$1" = "boot" ]]; then
boot
exit
fi
# Halt
if [[ "$1" = "halt" ]]; then
shift
halt
exit
fi

Loading…
Cancel
Save