From 7c75140314f8874255381e8e1fdbd1d019334c50 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sat, 14 Dec 2024 22:32:51 +0100 Subject: [PATCH] Add: choose-mirror tool script --- archlive/airootfs/usr/local/bin/choose-mirror | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 archlive/airootfs/usr/local/bin/choose-mirror diff --git a/archlive/airootfs/usr/local/bin/choose-mirror b/archlive/airootfs/usr/local/bin/choose-mirror new file mode 100755 index 0000000..d2349de --- /dev/null +++ b/archlive/airootfs/usr/local/bin/choose-mirror @@ -0,0 +1,29 @@ +#!/bin/bash +# +# SPDX-License-Identifier: GPL-3.0-or-later + +get_cmdline() { + local param + for param in $(/etc/pacman.d/mirrorlist <