summaryrefslogtreecommitdiff
path: root/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-17 15:20:46 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-17 15:20:46 +0200
commitfe510040c0bd4b2f6298bf1b049397561bb4fc1d (patch)
tree8afd9b3ebdd7e3042e286c94580ce79d6bb5ea40 /pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
parented887ea7ccdeab875470d31a7f7fe4884102a439 (diff)
downloadabslibre-fe510040c0bd4b2f6298bf1b049397561bb4fc1d.tar.gz
abslibre-fe510040c0bd4b2f6298bf1b049397561bb4fc1d.tar.bz2
abslibre-fe510040c0bd4b2f6298bf1b049397561bb4fc1d.zip
mkinitcpio-paralogo logo during boot instance
Diffstat (limited to 'pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install')
-rw-r--r--pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install b/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
new file mode 100644
index 000000000..608a2ad24
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+post_install() {
+ echo " > Now add 'paralogo' to your HOOKS array in /etc/mkinitcpio.conf"
+ echo " > and rebuild initial ramdisk with # mkinitcpio -p linux-libre"
+ echo " > You can put your own artwork in /usr/share/paralogo/ and select"
+ echo " > a non-default one in /etc/paralogo.conf."
+}
+
+post_remove() {
+ sed -i "/^HOOKS=/s/paralogo//" /etc/mkinitcpio.conf
+}