Magellan Linux

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

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

revision 692 by niro, Sat Mar 22 17:55:21 2008 UTC revision 694 by niro, Sat Mar 22 19:59:32 2008 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.19 2008-03-22 17:55:21 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.20 2008-03-22 19:58:58 niro Exp $
3    
4  source /etc/sysconfig/rc  source /etc/sysconfig/rc
5  source $rc_functions  source $rc_functions
# Line 150  then Line 150  then
150   if [[ ${RC_DEVICE_TARBALL} = yes ]]   if [[ ${RC_DEVICE_TARBALL} = yes ]]
151   then   then
152   echo -e ${COLOREDSTAR}"  Populating /dev with saved device nodes ..."   echo -e ${COLOREDSTAR}"  Populating /dev with saved device nodes ..."
153   tar -jxpf /lib/udev-state/devices.tar.bz2 -C /dev   tar -jxpf /lib/udev/state/devices.tar.bz2 -C /dev
154   evaluate_retval   evaluate_retval
155   fi   fi
156    
# Line 262  then Line 262  then
262   then   then
263   echo -e ${COLOREDSTAR}"Saving /dev device nodes ..."   echo -e ${COLOREDSTAR}"Saving /dev device nodes ..."
264   ( cd /dev; tar -jclpf "/tmp/devices-$$.tar.bz2" * &> /dev/null )   ( cd /dev; tar -jclpf "/tmp/devices-$$.tar.bz2" * &> /dev/null )
265   mv -f "/tmp/devices-$$.tar.bz2" /lib/udev-state/devices.tar.bz2   mv -f "/tmp/devices-$$.tar.bz2" /lib/udev/state/devices.tar.bz2
266   evaluate_retval   evaluate_retval
267   fi   fi
268  fi  fi

Legend:
Removed from v.692  
changed lines
  Added in v.694