blob: efe4ee1d6c889dacad302b03275a3118d8733e83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
post_install() {
echo "enabling services..."
echo "cronie.service"
usr/bin/systemctl enable cronie
echo "preload.service"
usr/bin/systemctl enable preload
echo "acpid.service"
usr/bin/systemctl enable acpid
echo "ntpd.service"
usr/bin/systemctl enable ntpd
echo "haveged.service"
usr/bin/systemctl enable haveged
echo "updating mirrorlist..."
cat /etc/pacman.d/mirrorlist | grep -v "mirror.vfn-nrw.de" > /tmp/mirrorlist.rk.tmp
echo "Server = https://mirror.vfn-nrw.de/archlinux/$repo/os/$arch" > /etc/pacman.d/mirrorlist
cat /tmp/mirrorlist.rk.tmp >> /etc/pacman.d/mirrorlist
rm -f /tmp/mirrorlist.rk.tmp
echo "done"
}
post_upgrade() {
post_install
}
|