qemu-vm/pre-start.sh

8 lines
229 B
Bash
Executable file

#!/usr/bin/env bash
if [[ -z "$DEBUG" ]] \
&& [[ -e /sys/bus/platform/devices/efi-framebuffer.0/driver ]]; then
echo efi-framebuffer.0 | sudo tee \
'/sys/bus/platform/devices/efi-framebuffer.0/driver/unbind'
fi