diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-19 06:25:18 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-19 06:25:18 +0200 |
commit | a5a563cfae42761a89980c368bb75da23b00bc9e (patch) | |
tree | f7f2571cc9ff8c301a63dce7aeded9a53bcf789d /pcr/mkinitcpio-paralogo/install/paralogo~works | |
parent | e774d9688aec8af3959004da851d7423ead2a4cf (diff) | |
download | abslibre-a5a563cfae42761a89980c368bb75da23b00bc9e.tar.gz abslibre-a5a563cfae42761a89980c368bb75da23b00bc9e.tar.bz2 abslibre-a5a563cfae42761a89980c368bb75da23b00bc9e.zip |
mkinitcpio-paralogo paralogo2 rebranded
Diffstat (limited to 'pcr/mkinitcpio-paralogo/install/paralogo~works')
-rw-r--r-- | pcr/mkinitcpio-paralogo/install/paralogo~works | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/mkinitcpio-paralogo/install/paralogo~works b/pcr/mkinitcpio-paralogo/install/paralogo~works new file mode 100644 index 000000000..e927966aa --- /dev/null +++ b/pcr/mkinitcpio-paralogo/install/paralogo~works @@ -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." +} |