next gen init
This commit is contained in:
parent
e0588cd6d1
commit
7f0421d094
40 changed files with 239 additions and 894 deletions
12
distros/arch/sys-scripts/00-reflector.sh
Normal file
12
distros/arch/sys-scripts/00-reflector.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Sets up fast mirrors on arch
|
||||
|
||||
if ! pacman -Q reflector; then
|
||||
echo "reflector was not installed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
|
||||
reflector -c NL -f 10 --threads 4 --save /etc/pacman.d/mirrorlist
|
||||
echo "Server = arch.neo.faulty.nl/$repo/os/$arch" >> /etc/pacman.d/mirrorlist
|
Loading…
Add table
Add a link
Reference in a new issue