summaryrefslogtreecommitdiff
path: root/pcr/mkinitcpio-paralogo/install/paralogo
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-19 18:17:13 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-19 18:17:13 +0200
commit9ca394dd06070cf584d5c503b5e43fb1b776134f (patch)
tree88bfd40223c57e74ee91eaca229a7e2f6439d802 /pcr/mkinitcpio-paralogo/install/paralogo
parenta5a563cfae42761a89980c368bb75da23b00bc9e (diff)
parent3ccd2ef1b87c3642d384b16fa109c8a524aadeeb (diff)
downloadabslibre-9ca394dd06070cf584d5c503b5e43fb1b776134f.tar.gz
abslibre-9ca394dd06070cf584d5c503b5e43fb1b776134f.tar.bz2
abslibre-9ca394dd06070cf584d5c503b5e43fb1b776134f.zip
mkinitcpio-paralogo new logo
Diffstat (limited to 'pcr/mkinitcpio-paralogo/install/paralogo')
-rwxr-xr-xpcr/mkinitcpio-paralogo/install/paralogo18
1 files changed, 15 insertions, 3 deletions
diff --git a/pcr/mkinitcpio-paralogo/install/paralogo b/pcr/mkinitcpio-paralogo/install/paralogo
index 9c28941d5..d1f5d2118 100755
--- a/pcr/mkinitcpio-paralogo/install/paralogo
+++ b/pcr/mkinitcpio-paralogo/install/paralogo
@@ -6,12 +6,24 @@ 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"
- fi
+ else
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."