Files
lfs-auto/vm.active.sh
2016-05-03 23:40:44 +07:00

24 lines
467 B
Bash
Executable File

#!/bin/bash
# using : switch between activation of virtual machine
# params :
# $1 : active distribution name
# - ghost: active with ghost distribution
# - live: active with live distribution
# author : kevin.leptons@gmail.com
# bash options
set -e
case $1 in
"ghost" )
./vm.ghost.active.sh
;;
"live" )
./vm.live.active.sh
;;
* )
(>&2 echo distribution is not specify)
exit 1
esac