2593a2594 > if [ -z "$FORKWAIT" ] ; then FORKWAIT="0"; fi 3078a3080,3081 > echo "## $DESC_FORKWAIT" > echo "FORKWAIT=\"$FORKWAIT\"" 4747a4751 > --field=" $GUI_FORKWAIT!$DESC_FORKWAIT ('FORKWAIT')":NUM "${FORKWAIT/#-/ -}" `#CAT_Misc` `#SUB_Checkbox` `#MENU_GAME` \ 9630a9635 > #forkCustomProg & 9632a9638 > #forkCustomProg & 9639a9646 > #forkCustomProg & 9641a9649 > #forkCustomProg & 10494a10503,10511 > function forkCustomProg { > writelog "INFO" "${FUNCNAME[0]} - 'Forking' custom command - i.e. starting delayed" > #waitForGamePid > writelog "INFO" "${FUNCNAME[0]} - Game is running, starting custom command in '$FORKWAIT' seconds" > launchCustomProg > sleep "$FORKWAIT" > } > > 14533a14551,14556 > > if [ ! -z "$FORKWAIT" ] ; then > > sleep "$FORKWAIT" > > fi