diff options
Diffstat (limited to 'pcr/plymouth-legacy/plymouth.initcpio_hook')
-rw-r--r-- | pcr/plymouth-legacy/plymouth.initcpio_hook | 16 |
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 |