Defaulting new questions in scripts/Configure?
I've just skimmed through the code in Configure to see if there is a way to make it shut up and just default everything new to NO so I can use it inside a noninteractive script.
Did I miss it or is it something that isn't there to be found?
I think I'd not be the only one to find it useful to make it be seen and not heard during a make oldconfig :-)
Signature · 5 lines
------------------------------------------------------ Use Linux: A computer Dale Amon, CEO/MD is a terrible thing Village Networking Ltd to waste. Belfast, Northern Ireland ------------------------------------------------------
Quoted 7 lines · Dale Amon
I've just skimmed through the code in Configure to see if there is a way to make it shut up and just default everything new to NO so I can use it inside a noninteractive script.
Did I miss it or is it something that isn't there
to be found?
yes
Quoted 14 lines · Gert-Jan Rodenburg
Quoted 11 lines · Dale Amon
I've just skimmed through the code in Configure to see if there is a way to make it shut up and just default everything new to NO so I can use it inside a noninteractive script.
Did I miss it or is it something that isn't there to be found?
I think I'd not be the only one to find it useful to make it be seen and not heard during a make oldconfig :-)
Quoted 5 lines
no "" | make oldconfig
Not sure if it works, but in the Linux From Scratch manual they do the oposite -> yes "" | make config
Jonathan Morton suggested the yes is the answer as well. I tested both out and diffed against one done manually. no seems to just die, yes does just the right thing.
Thanks much to all who replied.
Signature · 5 lines
------------------------------------------------------ Use Linux: A computer Dale Amon, CEO/MD is a terrible thing Village Networking Ltd to waste. Belfast, Northern Ireland ------------------------------------------------------
Quoted 12 lines · Dale Amon
Quoted 11 lines
Quoted 6 lines
Did I miss it or is it something that isn't there
to be found?I think I'd not be the only one to find it useful
to make it be seen and not heard during a
make oldconfig :-)no "" | make oldconfig
Not sure if it works, but in the Linux From Scratch manual they do the oposite -> yes "" | make config
Quoted 6 lines
Jonathan Morton suggested the yes is the answer as well. I tested both out and diffed against one done manually. no seems to just die, yes does just the right thing.
Thanks much to all who replied.
Euhm, my fault.
yes n "" | make config should work.
*note to self -> next time, check before sending in 'hints'n'tips *
Gr.
Gert-Jan