summaryrefslogtreecommitdiff
path: root/pcr/mkinitcpio-paralogo/install/paralogo~works
blob: e927966aa6520bb7618dcd3f1da4ea0559ec2c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

build() {
	source /etc/paralogo.conf
	add_file /etc/paralogo.conf
	add_file "/usr/share/paralogo/${PARALOGO}"
	if add_systemd_unit paralogo.service 2>/dev/null; then
		add_symlink "/usr/lib/systemd/system/sysinit.target.wants/paralogo.service" "../paralogo.service"
	else
		add_runscript
	        systemctl enable paralogo.service
	fi
}

help() {
	echo "This hook adds an Parabola Linux logo to the boot process."
}