Changes between Version 9 and Version 10 of Docs/Prog/Manual/Foundation/ApplicationModeStartup


Ignore:
Timestamp:
08/28/12 07:42:14 (12 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/Foundation/ApplicationModeStartup

    v9 v10  
    3434modprobe i2c-coldfire
    3535modprobe max734x
    36 #sleep 1
    37 #if [ -f /tmp/mnbdcomm2 ]; then
    38 #       modprobe mnbd-comm2
    39 #else
    40         modprobe mnbd-comm
    41 #fi
    42 #sleep 1
     36modprobe mnbd-comm
    4337echo "  U)pdate  T)est" > /dev/carddsp
    4438/usr/sbin/diag/waitkey 3
     
    5650        cd /usr/sbin/diag
    5751        ./diag c
    58 #       if [ "$?" = "5" ]; then
    59 #               sh /mnt/nfs/updmnbd.sh
    60                 exit
    61 #       fi
     52        exit
    6253elif [ "$updkey" = "79" ]; then
    6354        echo "\`" > /dev/carddsp
     
    7465ln -s /usr/sbin/www/html/fonts/btn825.fnt /etc/btn825.fnt
    7566#mount -t jffs2 /dev/mtdblock1 /mnt/nand
    76 # If nand is not yet configured - run diagnostics
    77 #if [ -f /mnt/nand/bin/appmenu.sh ]; then
    78 #       PATH=$PATH:/usr/sbin/diag:/mnt/nand/bin:.
    79 #       chmod +x /mnt/nand/bin/*
    80 #       echo "\`" > /dev/carddsp
    8167        echo "Application Menu..." > /dev/carddsp
    82 #       sh /mnt/nand/bin/appmenu.sh &
    8368        sh /usr/sbin/diag/appmenu.sh &
    8469        mount -t jffs2 /dev/mtdblock1 /mnt/nand &
    85         # DW Check for Cardinal 825 set to start web server - added -W command t                                                                o ifconfig to check NOR web server setting
     70        # DW Check for Cardinal 825 set to start web server - added -W command to ifconfig to check NOR web server setting
    8671        ifconfig -W
    8772        if [ "$?" = "1" ]; then
    8873                echo "Starting the boa webserver: "
    89 #               if [ -f /mnt/nand/cfg/boa.conf ]
    90 #               then
    91 #                       cp /mnt/nand/cfg/boa.conf /etc/conf/boa.conf
    92 #               fi
    9374                boa $BOA_ARGS
    94     fi
     75        fi
    9576        ifconfig -T
    9677        if [ "$?" = "2" ]; then
     
    9879                /usr/sbin/diag/wtsvr &
    9980        fi
    100         #if [ -f /mnt/nand/cfg/exports ]; then
    101         #       cp /mnt/nand/cfg/exports /etc/exports
    102         #fi
    10381        ifconfig -L
    10482        if [ "$?" = "4" ]; then
    10583                telnetd
     84        fi
    10685    fi
    107 #else
    108 #       PATH=$PATH:/usr/sbin/diag:.
    109 #       cd /usr/sbin/diag
    110 #       ./diag
    111 #       if [ "$?" = "10" ]; then
    112 #               sh /mnt/nfs/cpynand.sh &
    113 #       fi
    114 #fi
    11586
    11687}}}