summarylogtreecommitdiffstats
path: root/plymouth.initcpio_hook
blob: bdb9b6e7d62681c77793413df6c52dfabb6b3918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/ash

run_hook() {
  mkdir -m755 -p /dev/pts
  mount -t devpts devpts /dev/pts -o nosuid,noexec,gid=5,mode=620
  plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
  plymouth show-splash
}

run_latehook(){
  plymouth update-root-fs --new-root-dir=/new_root
}

run_emergencyhook(){
  plymouth --wait quit
}