plymouth-git-bgrt_fix/plymouth.initcpio_hook

24 lines
791 B
Plaintext
Raw Permalink Normal View History

2015-06-18 16:17:44 +00:00
run_earlyhook(){
# first trigger graphics subsystem
2015-06-18 16:17:44 +00:00
udevadm trigger --action=add --attr-match=class=0x030000 >/dev/null 2>&1
# first trigger graphics and tty subsystem
2015-06-18 16:17:44 +00:00
udevadm trigger --action=add --subsystem-match=graphics --subsystem-match=drm --subsystem-match=tty >/dev/null 2>&1
2015-06-18 16:17:44 +00:00
udevadm settle --timeout=30 2>&1
/usr/bin/mknod /dev/fb c 29 &>/dev/null
2015-06-18 16:17:44 +00:00
/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=/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: