Magellan Linux

Diff of /trunk/magellan-initscripts/etc/rc.d/init.d/rc

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

branches/unlabeled-1.1.1/magellan-initscripts/etc/rc.d/init.d/rc revision 2 by niro, Mon Dec 13 22:52:07 2004 UTC trunk/magellan-initscripts/etc/rc.d/init.d/rc revision 50 by niro, Mon Feb 14 22:26:43 2005 UTC
# Line 2  Line 2 
2    
3  source /etc/sysconfig/rc  source /etc/sysconfig/rc
4  source $rc_functions  source $rc_functions
 source /etc/mageversion  
5    
6    # get mage version
7    MAGEVER="$(< /etc/mageversion)"
8    
9  #source kernel config if exists  #source kernel config if exists
10  [ -f /etc/conf.d/kernel ] && source /etc/conf.d/kernel  [ -f /etc/conf.d/kernel ] && source /etc/conf.d/kernel
# Line 212  then Line 213  then
213   # make shure that udev is mounted but *not* devfs --> /dev/.devfsd   # make shure that udev is mounted but *not* devfs --> /dev/.devfsd
214   if [ "${RC_DEVICE_TARBALL}" = "yes" \   if [ "${RC_DEVICE_TARBALL}" = "yes" \
215   -a -e /dev/.udev \   -a -e /dev/.udev \
216   -a ! -e /dev/.devfsd ]   -a ! -e /dev/.devfsd \
217     -a ! -e /.bootdev ]
218   then   then
219   echo -e ${COLOREDSTAR}"Saving /dev device nodes ..."   echo -e ${COLOREDSTAR}"Saving /dev device nodes ..."
220   cd /dev   cd /dev
# Line 233  then Line 235  then
235   # make shure that udev is mounted but *not* devfs --> /dev/.devfsd   # make shure that udev is mounted but *not* devfs --> /dev/.devfsd
236   if [ "${RC_DEVICE_TARBALL}" = "yes" \   if [ "${RC_DEVICE_TARBALL}" = "yes" \
237   -a -e /dev/.udev \   -a -e /dev/.udev \
238   -a ! -e /dev/.devfsd ]   -a ! -e /dev/.devfsd \
239     -a ! -e /.bootdev ]
240   then   then
241   echo -e ${COLOREDSTAR}"Saving /dev device nodes ..."   echo -e ${COLOREDSTAR}"Saving /dev device nodes ..."
242   cd /dev   cd /dev

Legend:
Removed from v.2  
changed lines
  Added in v.50