diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-20 12:18:40 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-20 12:18:40 -0400 |
commit | 6776f9f1891d80592d867b82b63863a31c174982 (patch) | |
tree | 6761046417abad21850e6cd85e79b21ec117bbf5 /pcr/mkinitcpio-paralogo/install/paralogo | |
parent | 76ed0ac12ddb7709072e79aa2ce4c6058a17e2b8 (diff) | |
parent | 9cbd09c3ed3e4eae8919c0bc1d7b79e93d296f72 (diff) | |
download | abslibre-6776f9f1891d80592d867b82b63863a31c174982.tar.gz abslibre-6776f9f1891d80592d867b82b63863a31c174982.tar.bz2 abslibre-6776f9f1891d80592d867b82b63863a31c174982.zip |
Merge branch 'master' of git://projects.parabolagnulinux.org/abslibre
Diffstat (limited to 'pcr/mkinitcpio-paralogo/install/paralogo')
-rwxr-xr-x | pcr/mkinitcpio-paralogo/install/paralogo | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/mkinitcpio-paralogo/install/paralogo b/pcr/mkinitcpio-paralogo/install/paralogo new file mode 100755 index 000000000..d1f5d2118 --- /dev/null +++ b/pcr/mkinitcpio-paralogo/install/paralogo @@ -0,0 +1,30 @@ +#!/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 +} +#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." +} |