summaryrefslogtreecommitdiff
path: root/pcr/mkinitcpio-paralogo/install/paralogo
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-18 20:54:49 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-18 20:54:49 -0300
commitf69f9e4ba8e14a329efc2cf72ae254e781e9bf37 (patch)
treeeed9f1367fd5db8204b81973d4655b81ac578e5e /pcr/mkinitcpio-paralogo/install/paralogo
parentac7066b97df0698632f585db7d7e858008f1df91 (diff)
parente774d9688aec8af3959004da851d7423ead2a4cf (diff)
downloadabslibre-f69f9e4ba8e14a329efc2cf72ae254e781e9bf37.tar.gz
abslibre-f69f9e4ba8e14a329efc2cf72ae254e781e9bf37.tar.bz2
abslibre-f69f9e4ba8e14a329efc2cf72ae254e781e9bf37.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/mkinitcpio-paralogo/install/paralogo')
-rwxr-xr-xpcr/mkinitcpio-paralogo/install/paralogo17
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/mkinitcpio-paralogo/install/paralogo b/pcr/mkinitcpio-paralogo/install/paralogo
new file mode 100755
index 000000000..e927966aa
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/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."
+}