Project

General

Profile

Support #30

Set startup timeout using internal VAR

Added by Anonymous 4 months ago. Updated 4 months ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
06/07/2021
Due date:
% Done:

0%

Estimated time:

Description

Hello,
I'm trying to set startup timeout using a defined VAR but it's not working.

    <VAR name="IDLE_TIMEOUT" 
        help="idle timeout value" 
        dynamic="true">
        <ACTION>
            echo -n "60" 
        </ACTION>
    </VAR>
    <STARTUP view="${VIEWTYPE}" 
        timeout="${IDLE_TIMEOUT}">
        <ACTION>
            cat /etc/banner
        </ACTION>
    </STARTUP>

I did some troubleshooting and it seems that the variable is not evaluated before calling clish_shell__set_timeout function.
I'm running klish 1.7.1.
Do you have any suggestion to make it work?
Thank you!

History

#1

Updated by Serj Kalichev 4 months ago

Hello.
It will not work. Not all fields are dynamic. The 'timeout' field is static and gets digits only.

Also available in: Atom PDF