docker-qemu-reactos/scripts/bin/docker-foreground-cmd
2019-02-22 00:09:21 +01:00

12 lines
244 B
Bash
Executable File

#!/bin/sh
set -eu
# Create ReactOS disk
if [ ! -f /var/lib/qemu/images/reactos.img ]; then
qemu-img create -f "${QEMU_DISK_FORMAT}" /var/lib/qemu/images/reactos.img "${QEMU_DISK_SIZE}"
fi
# Start all services
exec runsvdir -P /etc/service/