summaryrefslogtreecommitdiff
path: root/pcr/mkinitcpio-paralogo/install/paralogo~works
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mkinitcpio-paralogo/install/paralogo~works')
-rw-r--r--pcr/mkinitcpio-paralogo/install/paralogo~works17
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."
+}