Subversion Repositories livecd

Rev

Rev 150 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 150 Rev 159
Line 326... Line 326...
326
      # try to mount nfs dir
326
      # try to mount nfs dir
327
      mount -t nfs -o nolock,ro,rsize=8192,wsize=8192,hard,intr $NFSROOT $DIR
327
      mount -t nfs -o nolock,ro,rsize=8192,wsize=8192,hard,intr $NFSROOT $DIR
328
      # enable kernel warnings
328
      # enable kernel warnings
329
      echo "$PRINTK" >/proc/sys/kernel/printk
329
      echo "$PRINTK" >/proc/sys/kernel/printk
330
 
330
 
331
      FOUND=`ls -A1d $DIR/livecd.sgn $DIR/*/livecd.sgn 2>/dev/null | head -n 1`
331
      # FOUND=`ls -A1d $DIR/livecd.sgn $DIR/*/livecd.sgn 2>/dev/null | head -n 1`
-
 
332
      FOUND=`find $DIR -name livecd.sgn -type f | head -n 1`
332
      if [ "$FOUND" != "" ]; then 
333
      if [ "$FOUND" != "" ]; then 
333
         dirname "$FOUND"
334
         dirname "$FOUND"
334
      fi
335
      fi
335
   else
336
   else
336
      list_block_devices | while read DEVICE; do
337
      list_block_devices | while read DEVICE; do