Magellan Linux

Diff of /trunk/busybox-initscripts/rc/rc

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

revision 1174 by niro, Wed Dec 15 18:22:16 2010 UTC revision 1175 by niro, Wed Dec 15 18:37:53 2010 UTC
# Line 9  source ${rc_functions} Line 9  source ${rc_functions}
9    
10  # prefer mdev if it is present, always fall back to udev  # prefer mdev if it is present, always fall back to udev
11  # these settings can be overriden via /etc/conf.d/kernel  # these settings can be overriden via /etc/conf.d/kernel
12  if [[ -z ${RC_DEVMANAGER} ]]  if [[ -z ${RC_DEVICEMANAGER} ]]
13  then  then
14   if [[ -e ${rc_base}/init.d/mdev ]]   if [[ -e ${rc_base}/init.d/mdev ]]
15   then   then
16   RC_DEVMANAGER="udev"   RC_DEVICEMANAGER="mdev"
17   elif [[ -e ${rc_base}/init.d/udev ]]   elif [[ -e ${rc_base}/init.d/udev ]]
18   then   then
19   RC_DEVMANAGER="udev"   RC_DEVICEMANAGER="udev"
20   fi   fi
21  fi  fi
22    
23  # load device management hooks  # load device management hooks
24  source ${rc_base}/init.d/${RC_DEVMANAGER}  source ${rc_base}/init.d/${RC_DEVICEMANAGER}
25    
26  # get mage version  # get mage version
27  MAGEVER="$(< /etc/mageversion)"  MAGEVER="$(< /etc/mageversion)"

Legend:
Removed from v.1174  
changed lines
  Added in v.1175