Magellan Linux

Diff of /trunk/busybox/splash-functions-plymouth.rc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1864 by niro, Mon Jul 30 12:36:58 2012 UTC revision 1870 by niro, Mon Jul 30 18:26:27 2012 UTC
# Line 2  Line 2 
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()
# Line 21  splash() Line 21  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    
# Line 45  rc_init() Line 45  rc_init()
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

Legend:
Removed from v.1864  
changed lines
  Added in v.1870