diff options
author | Jesse Spangenberger | 2015-06-13 22:16:46 -0400 |
---|---|---|
committer | Jesse Spangenberger | 2015-06-13 22:16:46 -0400 |
commit | 23e9270d19a1f31ee9cfa7d5fb7926ff2450bf16 (patch) | |
tree | e6b4be7545cdde34e610ac44d2c46a4d1077875f /plymouth.initcpio_hook | |
download | aur-plymouth-legacy.tar.gz |
Inital commit
Diffstat (limited to 'plymouth.initcpio_hook')
-rw-r--r-- | plymouth.initcpio_hook | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/plymouth.initcpio_hook b/plymouth.initcpio_hook new file mode 100644 index 000000000000..9226fe12f76a --- /dev/null +++ b/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 |