Advertisement
Guest User

plymouth

a guest
Jun 26th, 2014
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.49 KB | None | 0 0
  1. cat /usr/lib/initcpio/hooks/plymouth                                                                                   :
  2. #!/usr/bin/ash
  3.  
  4. run_earlyhook(){
  5.     /bin/mkdir -p /dev/pts
  6.     mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
  7.     /usr/bin/plymouthd --mode=boot --pid-file=/var/run/plymouth/pid --attach-to-session
  8. }
  9.  
  10. run_hook() {
  11.     /usr/bin/plymouth --show-splash
  12. }
  13.  
  14. run_latehook(){
  15.     /usr/bin/plymouth update-root-fs --new-root-dir=/new_root  
  16. }
  17.  
  18. # vim: set ft=sh:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement