diff options
Diffstat (limited to 'pcr/mkinitcpio-paralogo/install/paralogo')
-rwxr-xr-x | pcr/mkinitcpio-paralogo/install/paralogo | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/pcr/mkinitcpio-paralogo/install/paralogo b/pcr/mkinitcpio-paralogo/install/paralogo index d1f5d2118..9c28941d5 100755 --- a/pcr/mkinitcpio-paralogo/install/paralogo +++ b/pcr/mkinitcpio-paralogo/install/paralogo @@ -6,24 +6,12 @@ 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 } -#mkinitcpio() { -# source /etc/mkinitcpio.conf -# add_text /etc/mkinitcpio.conf -# if add_text paralogo 2>/dev/null; then -# add_text sed -e 's|^_d_hooks=.*|_d_hooks=/etc/mkinitcpio.conf:HOOK="paralogo"' -# add_runscript -# mkinitcpio -p linux-libre -# else -# add_runscript -# mkinitcpio -p linux-libre -# fi -#} - help() { echo "This hook adds an Parabola Linux logo to the boot process." |