update start script to only run hypervisor when type == sync

v4
vinllen 5 years ago
parent 3232c41a2a
commit ebf1fda83b
  1. 4
      scripts/start.sh

@ -16,4 +16,8 @@ if [ "Linux" != "$(uname -s)" ];then
exit 1 exit 1
fi fi
if [ "sync" == $2 ]; then
./hypervisor --daemon --exec="./$name.linux -conf=$1 -type=$2 1>>$name.output 2>&1" 1>>hypervisor.output 2>&1 ./hypervisor --daemon --exec="./$name.linux -conf=$1 -type=$2 1>>$name.output 2>&1" 1>>hypervisor.output 2>&1
else
./$name.linux -conf=$1 -type=$2 1>>$name.output 2>&1 &
fi

Loading…
Cancel
Save