summaryrefslogtreecommitdiff
path: root/meta-unit-graphics/recipes-core/initrdscripts/initramfs-module-plymouth/plymouth
blob: 603631914004f567a1e6ec390a7b0646e0bf370b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

plymouth_enabled() {
	return 0
}

plymouth_run() {
    msg "Starting Plymouth boot splash..."
    
    echo "Starting plymouthd..." > /dev/kmsg
    PLYMOUTH_ARGS="--mode=boot --pid-file=/run/plymouth/pid --ignore-serial-consoles"
    mkdir -p /dev/pts
    mount -t devpts devpts /dev/pts 2>/dev/null || true
    /usr/sbin/plymouthd ${PLYMOUTH_ARGS}
    
    echo "Showing splash..." > /dev/kmsg
    /usr/bin/plymouth show-splash
}