Subversion Repositories livecd

Rev

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

Rev 160 Rev 161
Line 323... Line 323...
323
 
323
 
324
      # disable kernel warnings
324
      # disable kernel warnings
325
      PRINTK=`cat /proc/sys/kernel/printk`
325
      PRINTK=`cat /proc/sys/kernel/printk`
326
      echo "0" >/proc/sys/kernel/printk
326
      echo "0" >/proc/sys/kernel/printk
327
      # try to mount nfs dir
327
      # try to mount nfs dir
328
      mount -t nfs -o nolock,ro,rsize=8192,wsize=8192,hard,intr $NFSROOT $DIR
328
      mount -t nfs -o $NFSOPT $NFSROOT $DIR
329
      # enable kernel warnings
329
      # enable kernel warnings
330
      echo "$PRINTK" >/proc/sys/kernel/printk
330
      echo "$PRINTK" >/proc/sys/kernel/printk
331
 
331
 
332
      # FOUND=`ls -A1d $DIR/livecd.sgn $DIR/*/livecd.sgn 2>/dev/null | head -n 1`
332
      # FOUND=`ls -A1d $DIR/livecd.sgn $DIR/*/livecd.sgn 2>/dev/null | head -n 1`
333
      FOUND=`find $DIR -name livecd.sgn -type f | head -n 1`
333
      FOUND=`find $DIR -name livecd.sgn -type f | head -n 1`
Line 341... Line 341...
341
 
341
 
342
      # disable kernel warnings
342
      # disable kernel warnings
343
      PRINTK=`cat /proc/sys/kernel/printk`
343
      PRINTK=`cat /proc/sys/kernel/printk`
344
      echo "0" >/proc/sys/kernel/printk
344
      echo "0" >/proc/sys/kernel/printk
345
      # try to mount cifs dir
345
      # try to mount cifs dir
346
      mount -t cifs $CIFSROOT $DIR -o ro,$CIFS_OPTS
346
      mount -t cifs $CIFSROOT $DIR -o ro,$CIFSOPTS
347
      # enable kernel warnings
347
      # enable kernel warnings
348
      echo "$PRINTK" >/proc/sys/kernel/printk
348
      echo "$PRINTK" >/proc/sys/kernel/printk
349
 
349
 
350
      FOUND=`ls -A1d $DIR/livecd.sgn $DIR/*/livecd.sgn 2>/dev/null | head -n 1`
350
      FOUND=`ls -A1d $DIR/livecd.sgn $DIR/*/livecd.sgn 2>/dev/null | head -n 1`
351
      if [ "$FOUND" != "" ]; then
351
      if [ "$FOUND" != "" ]; then