plymouth.initcpio_hook 336 B

1234567891011121314151617
  1. #!/usr/bin/ash
  2. run_hook() {
  3. mkdir -m755 -p /dev/pts
  4. mount -t devpts devpts /dev/pts -o nosuid,noexec,gid=5,mode=620
  5. plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
  6. plymouth show-splash
  7. }
  8. run_latehook(){
  9. plymouth update-root-fs --new-root-dir=/new_root
  10. }
  11. run_emergencyhook(){
  12. plymouth --wait quit
  13. }