Changes between Version 12 and Version 13 of Docs/Prog/Manual/Foundation/ApplicationModeStartup


Ignore:
Timestamp:
04/25/23 06:55:52 (12 months ago)
Author:
Don Wilson
Comment:

--

Legend:

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

    v12 v13  
    9292}}}
    9393
    94 [[Top]]
    9594
    9695== Modules ==
     
    123122
    124123such as '''rmmod max734x'''.
    125 [[Top]]
    126124
    127125
     
    217215
    218216
    219 [[Top]]
    220 
    221217The [wiki:Docs/Prog/Manual/ConfigurationUtility Configuration Utility] “touchcal” has an option “Configure Menu” which allows the menu to be customized.
    222218
     
    225221The following lines check the return value from the appmenu program:
    226222{{{
    227 #!Lineno
    228223#!sh
    229224        tmp=$?
     
    244239
    245240{{{
    246 #!Lineno
    247241#!sh
    248242  12) /mnt/nand/bin/touchcal ;;
     
    251245If the value is equal to 12 the configuration program “touchcal” is called.
    252246{{{
    253 #!Lineno
    254247#!sh
    255248               12) /usr/sbin/diag/touchcal
     
    263256
    264257{{{
    265 #!Lineno
    266258#!sh
    267259#!/bin/sh
     
    284276Note that this script contains another while-do-done loop and launches the file manager within the loop. If certain file types are selected such as an S19 file to update firmware, or a bmp file to display the file manager creates a another script /tmp/filemgr_cmd.sh and returns with an exit code 1. In this case the filemgr.sh script calls the filemgr_cmd.sh script and when complete the while loop will cause the filemgr to start again. If the file manager is exited the return value is zero and exit statement is executed so control will return to the appmenu script.
    285277{{{
    286 #!Lineno
    287278#!sh
    288279                14) /usr/sbin/diag/imageview /mnt/nand/cfg/slideshow.cfg ;;
     
    293284
    294285{{{
    295 #!Lineno
    296286/mnt/nand/images/825_Indicator_Startup_Screen_1.bmp
    297287/mnt/nand/images/825_Indicator_Startup_Screen_2.bmp
     
    316306If you want to stop the “indicator”, “touchcal”, or “appmenu” program you should use the “ps” command and find the <PID> process ID of the script “sh appmenu.sh” first. Use the “kill” command to stop the script before stopping the program. Otherwise, the script may immediately restart the program.
    317307
    318 [[Top]]
    319308
    320309