Magellan Linux

Diff of /trunk/mkinitrd-magellan/livecd/linuxrc.sh

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

revision 1296 by niro, Fri May 27 14:42:36 2011 UTC revision 1513 by niro, Wed Sep 7 17:42:43 2011 UTC
# Line 97  do Line 97  do
97   break) BREAK_ENABLED=yes ;;   break) BREAK_ENABLED=yes ;;
98   unionfs) UNIONFS=yes;;   unionfs) UNIONFS=yes;;
99   unionfs_file=*) UNIONFS_FILE="${i#*=}";;   unionfs_file=*) UNIONFS_FILE="${i#*=}";;
100     rootdelay=*) ROOTDELAY="${i#*=}";;
101   esac   esac
102  done  done
103    
# Line 129  if [ "${DOUSB}" = "yes" ]; then Line 130  if [ "${DOUSB}" = "yes" ]; then
130   sleep 8   sleep 8
131  fi  fi
132    
133    # respect rootdelay kernel param
134    if [ ! -z "${ROOTDELAY}" ]; then
135     echo "-- Requested a rootdelay of ${ROOTDELAY} seconds ..."
136     sleep ${ROOTDELAY}
137    fi
138    
139  # searching cdrom with cdid  # searching cdrom with cdid
140  BOOT_DEVICE=""  BOOT_DEVICE=""
141  FSTYPE=""  FSTYPE=""
# Line 210  else Line 217  else
217    
218   (cd ${CLOOPMOUNTDIR}; cp -a etc root home var /sysroot)   (cd ${CLOOPMOUNTDIR}; cp -a etc root home var /sysroot)
219    
220     # ensure that /sysroot/linurc exists
221     [ ! -e /sysroot/linuxrc ] && ln -snf ${INITEXEC} /sysroot/linuxrc
222    
223   # ensure the right permissions   # ensure the right permissions
224   chmod 1777 /sysroot/tmp   chmod 1777 /sysroot/tmp
225   chmod 1777 /sysroot/var/tmp   chmod 1777 /sysroot/var/tmp

Legend:
Removed from v.1296  
changed lines
  Added in v.1513