diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-17 15:20:46 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-17 15:20:46 +0200 |
commit | fe510040c0bd4b2f6298bf1b049397561bb4fc1d (patch) | |
tree | 8afd9b3ebdd7e3042e286c94580ce79d6bb5ea40 /pcr/mkinitcpio-paralogo/install | |
parent | ed887ea7ccdeab875470d31a7f7fe4884102a439 (diff) |
mkinitcpio-paralogo logo during boot instance
Diffstat (limited to 'pcr/mkinitcpio-paralogo/install')
-rwxr-xr-x | pcr/mkinitcpio-paralogo/install/paralogo | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/mkinitcpio-paralogo/install/paralogo b/pcr/mkinitcpio-paralogo/install/paralogo new file mode 100755 index 000000000..e927966aa --- /dev/null +++ b/pcr/mkinitcpio-paralogo/install/paralogo @@ -0,0 +1,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." +} |