summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-17 16:59:45 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-17 16:59:45 +0200
commitf7e43c312372cea868637db9c2cb8c43ad9dd80d (patch)
tree819438a6ba822e16f350c8919d6cb36c65a1434f /install
parent459eadb1f56ef094435c70121858593fb9d8eee5 (diff)
all files of our logo of mkinitcpio-paralogo from github to parabola git!
Diffstat (limited to 'install')
-rwxr-xr-xinstall/paralogo17
1 files changed, 17 insertions, 0 deletions
diff --git a/install/paralogo b/install/paralogo
new file mode 100755
index 0000000..e927966
--- /dev/null
+++ b/install/paralogo
@@ -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."
+}