summaryrefslogtreecommitdiff
path: root/pcr/plymouth-legacy/plymouth.initcpio_hook
diff options
context:
space:
mode:
authorDavid P <megver83@openmailbox.org>2017-03-23 12:53:26 -0300
committerDavid P <megver83@openmailbox.org>2017-03-23 12:53:26 -0300
commitcca6fde7f2f3da82cc1165140fb8372c2c018a72 (patch)
tree87ce26cde42345d6790eaf7dcd014d5a1b24f4f3 /pcr/plymouth-legacy/plymouth.initcpio_hook
parent9861000b9239f4d9b6f55475c9ef6d3410a3d43a (diff)
downloadabslibre-cca6fde7f2f3da82cc1165140fb8372c2c018a72.tar.gz
abslibre-cca6fde7f2f3da82cc1165140fb8372c2c018a72.tar.bz2
abslibre-cca6fde7f2f3da82cc1165140fb8372c2c018a72.zip
Added plymouth-legacy to [pcr]
Diffstat (limited to 'pcr/plymouth-legacy/plymouth.initcpio_hook')
-rw-r--r--pcr/plymouth-legacy/plymouth.initcpio_hook16
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr/plymouth-legacy/plymouth.initcpio_hook b/pcr/plymouth-legacy/plymouth.initcpio_hook
new file mode 100644
index 000000000..9226fe12f
--- /dev/null
+++ b/pcr/plymouth-legacy/plymouth.initcpio_hook
@@ -0,0 +1,16 @@
+run_earlyhook(){
+ /usr/bin/mknod /dev/fb c 29 &>/dev/null
+ /usr/bin/mkdir -p /dev/pts
+ /usr/bin/mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
+ /usr/bin/plymouthd --mode=boot --pid-file=/var/run/plymouth/pid --attach-to-session
+}
+
+run_hook() {
+ /usr/bin/plymouth --show-splash
+}
+
+run_latehook(){
+ /usr/bin/plymouth update-root-fs --new-root-dir=/new_root
+}
+
+# vim: set ft=sh: \ No newline at end of file