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

# Allow plymouthd time to open the DRM device and render the first frame.
# Without this, switch_root happens before Plymouth has rendered anything
# and the splash never shows (on some platforms).

plymouthsettle_enabled() {
    return 0
}

plymouthsettle_run() {
    echo "Waiting for for plymouth to settle..."
    sleep 1
    echo "Plymouth wait is done"
}