Unverified Commit 2e8766e5 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Simplify

parent f16676f7
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -5,21 +5,10 @@ echo "Starting Virtual DSM..."

. /run/install.sh
. /run/disk.sh

[ -z "${KVM_DISK_OPTS}" ] && echo "Error: Failed to setup disks..." && exit 83

. /run/network.sh

[ -z "${KVM_NET_OPTS}" ] && echo "Error: Failed to setup network..." && exit 84

. /run/serial.sh

[ -z "${KVM_SERIAL_OPTS}" ] && echo "Error: Failed to setup serial..." && exit 85

. /run/power.sh

[ -z "${KVM_MON_OPTS}" ] && echo "Error: Failed to setup monitor..." && exit 87

KVM_ACC_OPTS=""

if [ -e /dev/kvm ] && sh -c 'echo -n > /dev/kvm' &> /dev/null; then