Files
binary-repo/sys/boot/plymouth/plymouth.initcpio_hook
T
2023-11-14 22:28:03 +03:00

17 lines
336 B
Bash

#!/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
}