plymouth: removed console_init call
[dracut/plouj.git] / modules.d / 50plymouth / plymouth-pretrigger.sh
blob68cf41d525d49f0cf1116e1041da7fe945ad944e
1 #!/bin/sh
3 # first trigger graphics subsystem
4 udevadm trigger --attr-match=class=0x030000
5 # first trigger graphics and tty subsystem
6 udevadm trigger --subsystem-match=graphics --subsystem-match=tty >/dev/null 2>&1
7 # add nomatch for full trigger
8 udevtriggeropts="$udevtriggeropts --subsystem-nomatch=graphics --subsystem-nomatch=tty"
10 udevadm settle --timeout=30 >/dev/null 2>&1
11 [ -c /dev/null ] || mknod /dev/null c 1 3
12 [ -c /dev/zero ] || mknod /dev/zero c 1 5
13 [ -c /dev/systty ] || mknod /dev/systty c 4 0
14 [ -c /dev/fb ] || mknod /dev/fb c 29 0
15 [ -c /dev/hvc0 ] || mknod /dev/hvc0 c 229 0
17 info "Starting plymouth daemon"
18 [ -x /bin/plymouthd ] && /bin/plymouthd
19 /bin/plymouth --show-splash