aboutsummaryrefslogblamecommitdiffstats
path: root/install/archlogo
blob: 40768b63090ab4aae7135f916102c879e196b93b (plain) (tree)
1
2
3
4
5
6
7
8



                                 

                                                  

                                                       



                                                                                                                 




                                                                     
#!/bin/sh

build() {
	source /etc/archlogo.conf
	add_file /etc/archlogo.conf
	add_file "/usr/share/archlogo/${ARCHLOGO}"
	if command -v add_systemd_unit >/dev/null; then
		add_systemd_unit "archlogo.service"
		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."
}