ts-7000
[Top] [All Lists]

[ts-7000] Fix to TS-7400 linuxrc-fastboot and perhaps other scripts.

To:
Subject: [ts-7000] Fix to TS-7400 linuxrc-fastboot and perhaps other scripts.
From: Mel Wilson <>
Date: Mon, 19 Mar 2007 14:08:09 -0400
Two lines in the linuxrc-fastboot script in flash were not behaving 
properly:

if [ -e /dev/sdcard0/disc0/part3 -a ! -e /mnt/root/bin/mount ]; then

and

if [ -e /mnt/root/bin/mount -a ! -e /mnt/root/notrootfs ]; then


It appears that the version of the shell in use while the script is 
running doesn't recognize the '[' command, and emits a message like
"/bin/sh: [: not found".

Changing  the lines to

if test -e /dev/sdcard0/disc0/part3 -a ! -e /mnt/root/bin/mount ; then

and

if test -e /mnt/root/bin/mount -a ! -e /mnt/root/notrootfs ; then

gets the statements working.  After "exit" on the fastboot serial 
shell the  system then goes on to boot with a root filesystem from 
sdcard partition 3, as layed out in the ts-7400-info file.  This 
clears up some confusion; I can stop looking for the problem on my SD 
card.

I see this "if [" construct in other linuxrc-* scripts, as well.

I don't know if this has been fixed since we got our TS-7400 cards -- 
the one I'm looking at now is SN 2357.

         Mel.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU