summaryrefslogtreecommitdiff
path: root/pcr/plymouth-legacy/plymouth.initcpio_hook
blob: 9226fe12f76a606fa7bf65febd85f2addec7205b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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: