| 66 | | #mount -t jffs2 /dev/mtdblock1 /mnt/nand |
| 67 | | echo "Application Menu..." > /dev/carddsp |
| 68 | | sh /usr/sbin/diag/appmenu.sh & |
| 69 | | mount -t jffs2 /dev/mtdblock1 /mnt/nand & |
| 70 | | # DW Check for Cardinal 825 set to start web server - added -W command to ifconfig to check NOR web server setting |
| 71 | | ifconfig -W |
| 72 | | if [ "$?" = "1" ]; then |
| 73 | | echo "Starting the boa webserver: " |
| 74 | | boa $BOA_ARGS |
| 75 | | fi |
| 76 | | ifconfig -T |
| 77 | | if [ "$?" = "2" ]; then |
| 78 | | echo "Starting the weight server: " |
| 79 | | /usr/sbin/diag/wtsvr & |
| 80 | | fi |
| 81 | | ifconfig -L |
| 82 | | if [ "$?" = "4" ]; then |
| 83 | | telnetd |
| 84 | | fi |
| 85 | | fi |
| 86 | | |
| | 66 | echo "Application Menu..." > /dev/carddsp |
| | 67 | sh /usr/sbin/diag/appmenu.sh & |
| | 68 | mount -t jffs2 /dev/mtdblock1 /mnt/nand & |
| | 69 | # DW Check for Cardinal 825 set to start web server - added -W command to ifconfig to check NOR web server setting |
| | 70 | ifconfig -W |
| | 71 | if [ "$?" = "1" ]; then |
| | 72 | echo "Starting the boa webserver: " |
| | 73 | boa $BOA_ARGS |
| | 74 | fi |
| | 75 | ifconfig -T |
| | 76 | if [ "$?" = "2" ]; then |
| | 77 | echo "Starting the weight server: " |
| | 78 | /usr/sbin/diag/wtsvr & |
| | 79 | fi |
| | 80 | ifconfig -L |
| | 81 | if [ "$?" = "4" ]; then |
| | 82 | telnetd |
| | 83 | fi |