summaryrefslogtreecommitdiffstats
path: root/install/archlogo
blob: f16c9b1d91909ed78a21c71c8b201bf6b0915879 (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."
}