From a5a563cfae42761a89980c368bb75da23b00bc9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20DESBRI=C3=88RES?= Date: Thu, 19 Jun 2014 06:25:18 +0200 Subject: mkinitcpio-paralogo paralogo2 rebranded --- pcr/mkinitcpio-paralogo/install/paralogo | 5 +++-- pcr/mkinitcpio-paralogo/install/paralogo~works | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 pcr/mkinitcpio-paralogo/install/paralogo~works (limited to 'pcr/mkinitcpio-paralogo/install') diff --git a/pcr/mkinitcpio-paralogo/install/paralogo b/pcr/mkinitcpio-paralogo/install/paralogo index e927966aa..9c28941d5 100755 --- a/pcr/mkinitcpio-paralogo/install/paralogo +++ b/pcr/mkinitcpio-paralogo/install/paralogo @@ -6,10 +6,11 @@ build() { 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 + fi add_runscript systemctl enable paralogo.service - fi + + fi } help() { 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." +} -- cgit v1.2.3-2-g168b