aboutsummaryrefslogtreecommitdiffstats
path: root/config.sh
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-06-12 15:15:16 +0200
committerGravatar Tom Willemse2016-06-12 15:15:16 +0200
commit485057f42d060637d1ea3e0e2b76eedbbac2ae06 (patch)
treea9e4c1a7f8cd7edcc9a7316917941089013e9594 /config.sh
parent6093fddfffc75e65ee04cb7ad707a53cf916adc3 (diff)
downloadupdate-mirrors-485057f42d060637d1ea3e0e2b76eedbbac2ae06.tar.gz
update-mirrors-485057f42d060637d1ea3e0e2b76eedbbac2ae06.zip
Put default configuration in config.sh
Diffstat (limited to 'config.sh')
-rw-r--r--config.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/config.sh b/config.sh
new file mode 100644
index 0000000..f358558
--- /dev/null
+++ b/config.sh
@@ -0,0 +1,22 @@
+## Default config.sh
+#
+# Here one can change the settings used to update the mirrors
+# configuration file.
+
+# The base URL for Archlinux's mirror list
+url="https://www.archlinux.org/mirrorlist"
+
+# Mirrors in which countries should be selected
+countries=("BE" "NL")
+
+# Mirrors with which protocols should be selected
+protocols=("http" "https")
+
+# Mirrors with which IP versions should be selected
+ip_versions=(4)
+
+# Should the mirror status be used to select mirrors
+use_mirror_status="on"
+
+# Where should the mirror list be saved.
+dest="/etc/pacman.d/mirrorlist"