2 |
# $Id$ |
# $Id$ |
3 |
|
|
4 |
_plymouth=/usr/bin/plymouth |
_plymouth=/usr/bin/plymouth |
5 |
_plymouthd=/usr/bin/plymouthd |
_plymouthd=/usr/sbin/plymouthd |
6 |
_pidfile=/var/run/plymouth/pid |
_pidfile=/run/plymouth/pid |
7 |
_udevadm=/usr/bin/udevadm |
_udevadm=/usr/bin/udevadm |
8 |
|
|
9 |
splash() |
splash() |
21 |
rc_init) rc_init ;; |
rc_init) rc_init ;; |
22 |
rc_exit) rc_exit ;; |
rc_exit) rc_exit ;; |
23 |
rc_verbose) ;; |
rc_verbose) ;; |
24 |
svc_started) svc_update"$2" ;; |
svc_started) svc_update "$2" ;; |
25 |
svc_stopped) svc_update"$2" ;; |
svc_stopped) svc_update "$2" ;; |
26 |
esac |
esac |
27 |
} |
} |
28 |
|
|
45 |
fi |
fi |
46 |
if [ -x ${_udevadm} ] |
if [ -x ${_udevadm} ] |
47 |
then |
then |
|
${_udevadm} trigger --action=add --attr-match=class=0x030000 |
|
48 |
${_udevadm} trigger --action=add --subsystem-match=graphics --subsystem-match=drm --subsystem-match=tty |
${_udevadm} trigger --action=add --subsystem-match=graphics --subsystem-match=drm --subsystem-match=tty |
49 |
${_udevadm} settle --timeout=30 |
${_udevadm} settle --timeout=30 --exit-if-exists=/sys/class/drm/card0/dev |
50 |
|
${_udevadm} settle --timeout=30 --exit-if-exists=/sys/class/graphics/fb0/dev |
51 |
fi |
fi |
52 |
if [ -x ${_plymouth} ] |
if [ -x ${_plymouth} ] |
53 |
then |
then |