summaryrefslogtreecommitdiffstats
path: root/install/archlogo
blob: a84e32af974a7aec59790445479474c35143fa42 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

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

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