summaryrefslogtreecommitdiff
path: root/configs/lxde-openrc/airootfs/etc/local.d/choose-mirror.start
blob: fea21b89f1950d2c8734004808d73b450ea2c9f7 (plain)
1
2
3
4
5
6
#!/bin/bash
#
# SPDX-License-Identifier: GPL-3.0-or-later

# Choose mirror from the kernel command line
grep -qoP 'mirror=\K\S+' /proc/cmdline && /usr/local/bin/choose-mirror