Minor enhancement - better handling of the background process.

This commit is contained in:
Ivan Davidov 2017-12-02 03:11:12 +02:00
parent b47559ac82
commit b6d4262ef3

View File

@ -14,8 +14,8 @@ cmd="qemu-system-$(uname -m) -m 128M -cdrom minimal_linux_live.iso -boot d -vga
if [ "$1" = "-hdd" -o "$1" = "-h" ] ; then
echo "Starting QEMU with attached ISO image and hard disk."
$cmd -hda hdd.img &
$cmd -hda hdd.img > /dev/null 2>&1 &
else
echo "Starting QEMU with attached ISO image."
$cmd &
$cmd > /dev/null 2>&1 &
fi