Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-04-14 10:08:09 +0300
committernachoparker <nacho@ownyourbits.com>2017-04-14 10:08:09 +0300
commit5949152f13c14bc6997995e8b469353fd9cdb042 (patch)
treeb0ecba6c75695809361932dec3d4d8dbc3cbed46 /etc
parent47f4c75391bc0ef8c687958f050ddc117613773a (diff)
disable QEMU graphics mode in launch-qemu
Diffstat (limited to 'etc')
-rwxr-xr-xetc/library.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/library.sh b/etc/library.sh
index a9a4bc94..8cf97600 100755
--- a/etc/library.sh
+++ b/etc/library.sh
@@ -48,6 +48,7 @@ function launch_qemu()
test -f $1 || { echo "Image $IMG not found"; return 1; }
test -d qemu-raspbian-network || git clone https://github.com/nachoparker/qemu-raspbian-network.git
sed -i '30s/NO_NETWORK=1/NO_NETWORK=0/' qemu-raspbian-network/qemu-pi.sh
+ sed -i '35s/NO_GRAPHIC=0/NO_GRAPHIC=1/' qemu-raspbian-network/qemu-pi.sh
echo "Starting QEMU image $IMG"
( cd qemu-raspbian-network && sudo ./qemu-pi.sh ../$IMG 2>/dev/null )
}