Changes between Version 9 and Version 10 of Docs/Prog/Manual/Foundation/ApplicationModeStartup
- Timestamp:
- 08/28/12 07:42:14 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/Foundation/ApplicationModeStartup
v9 v10 34 34 modprobe i2c-coldfire 35 35 modprobe 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 36 modprobe mnbd-comm 43 37 echo " U)pdate T)est" > /dev/carddsp 44 38 /usr/sbin/diag/waitkey 3 … … 56 50 cd /usr/sbin/diag 57 51 ./diag c 58 # if [ "$?" = "5" ]; then 59 # sh /mnt/nfs/updmnbd.sh 60 exit 61 # fi 52 exit 62 53 elif [ "$updkey" = "79" ]; then 63 54 echo "\`" > /dev/carddsp … … 74 65 ln -s /usr/sbin/www/html/fonts/btn825.fnt /etc/btn825.fnt 75 66 #mount -t jffs2 /dev/mtdblock1 /mnt/nand 76 # If nand is not yet configured - run diagnostics77 #if [ -f /mnt/nand/bin/appmenu.sh ]; then78 # PATH=$PATH:/usr/sbin/diag:/mnt/nand/bin:.79 # chmod +x /mnt/nand/bin/*80 # echo "\`" > /dev/carddsp81 67 echo "Application Menu..." > /dev/carddsp 82 # sh /mnt/nand/bin/appmenu.sh &83 68 sh /usr/sbin/diag/appmenu.sh & 84 69 mount -t jffs2 /dev/mtdblock1 /mnt/nand & 85 # DW Check for Cardinal 825 set to start web server - added -W command t 70 # DW Check for Cardinal 825 set to start web server - added -W command to ifconfig to check NOR web server setting 86 71 ifconfig -W 87 72 if [ "$?" = "1" ]; then 88 73 echo "Starting the boa webserver: " 89 # if [ -f /mnt/nand/cfg/boa.conf ]90 # then91 # cp /mnt/nand/cfg/boa.conf /etc/conf/boa.conf92 # fi93 74 boa $BOA_ARGS 94 fi75 fi 95 76 ifconfig -T 96 77 if [ "$?" = "2" ]; then … … 98 79 /usr/sbin/diag/wtsvr & 99 80 fi 100 #if [ -f /mnt/nand/cfg/exports ]; then101 # cp /mnt/nand/cfg/exports /etc/exports102 #fi103 81 ifconfig -L 104 82 if [ "$?" = "4" ]; then 105 83 telnetd 84 fi 106 85 fi 107 #else108 # PATH=$PATH:/usr/sbin/diag:.109 # cd /usr/sbin/diag110 # ./diag111 # if [ "$?" = "10" ]; then112 # sh /mnt/nfs/cpynand.sh &113 # fi114 #fi115 86 116 87 }}}