config/companion_libs/ppl.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Sep 08 22:42:48 2009 +0200 (2009-09-08)
changeset 1524 1031ea5af395
parent 1324 48c12c696778
child 1535 073d351bdcd3
permissions -rw-r--r--
kconfig: allow stdin/stdout redirection

Allow stdin/stdout redirection for the CLI conf (not mconf).
This allows to recall a sample and automatically apply the defaults
to new configuration option, with something like the following:
yes "" |ct-ng "sample_name"
     1 # PPL options
     2 
     3 choice
     4     bool
     5     prompt "PPL version"
     6 
     7 config PPL_V_0_10_2
     8     bool
     9     prompt "0.10.2"
    10 
    11 # CT_INSERT_VERSION_ABOVE
    12 # Don't remove above line!
    13 endchoice
    14 
    15 config PPL_VERSION
    16     string
    17     default "0.10.2" if PPL_V_0_10_2
    18 # CT_INSERT_VERSION_STRING_ABOVE
    19 # Don't remove above line!