mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-11-24 07:20:57 +07:00
Source installer
This commit is contained in:
parent
59de0141dc
commit
fbb51b61c8
15
run.sh
15
run.sh
@ -1,25 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
if /run/install.sh; then
|
||||
echo "Starting Virtual DSM..."
|
||||
else
|
||||
echo "Installation failed (code $?)" && exit 81
|
||||
fi
|
||||
echo "Starting Virtual DSM..."
|
||||
|
||||
source /run/disk.sh
|
||||
. /run/install.sh
|
||||
. /run/disk.sh
|
||||
|
||||
[ -z "${KVM_DISK_OPTS}" ] && echo "Error: Failed to setup disks..." && exit 83
|
||||
|
||||
source /run/network.sh
|
||||
. /run/network.sh
|
||||
|
||||
[ -z "${KVM_NET_OPTS}" ] && echo "Error: Failed to setup network..." && exit 84
|
||||
|
||||
source /run/serial.sh
|
||||
. /run/serial.sh
|
||||
|
||||
[ -z "${KVM_SERIAL_OPTS}" ] && echo "Error: Failed to setup serial..." && exit 85
|
||||
|
||||
source /run/power.sh
|
||||
. /run/power.sh
|
||||
|
||||
[ -z "${KVM_MON_OPTS}" ] && echo "Error: Failed to setup monitor..." && exit 87
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user