From 64a9d08d36f0e5f1e2d1cad997eb3fc898f97ddb Mon Sep 17 00:00:00 2001 From: Kuoi Date: Thu, 4 May 2023 18:14:16 +0800 Subject: [PATCH] delete: extra --- bio-gui/run_archiso | 173 -------------------------------------------- 1 file changed, 173 deletions(-) delete mode 100755 bio-gui/run_archiso diff --git a/bio-gui/run_archiso b/bio-gui/run_archiso deleted file mode 100755 index 6ddce15..0000000 --- a/bio-gui/run_archiso +++ /dev/null @@ -1,173 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (C) 2020 David Runge -# -# SPDX-License-Identifier: GPL-3.0-or-later -# -# A simple script to run an archiso image using qemu. The image can be booted -# using BIOS or UEFI. -# -# Requirements: -# - qemu -# - edk2-ovmf (when UEFI booting) - - -set -eu - -print_help() { - local usagetext - IFS='' read -r -d '' usagetext < 0 )); then - while getopts 'abc:dhi:suv' flag; do - case "$flag" in - a) - accessibility='on' - ;; - b) - boot_type='bios' - ;; - c) - oddimage="$OPTARG" - ;; - d) - mediatype='hd' - ;; - h) - print_help - exit 0 - ;; - i) - image="$OPTARG" - ;; - u) - boot_type='uefi' - ;; - s) - secure_boot='on' - ;; - v) - display='none' - qemu_options+=(-vnc 'vnc=0.0.0.0:0,vnc=[::]:0') - ;; - *) - printf '%s\n' "Error: Wrong option. Try 'run_archiso -h'." - exit 1 - ;; - esac - done -else - print_help - exit 1 -fi - -check_image -run_image