Unix/Linux Go Back    

UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

"menuconfig" utility in Linux

UNIX for Dummies Questions & Answers

Thread Tools Search this Thread Display Modes
Old Unix and Linux 07-01-2013
anand.shah anand.shah is offline
Registered User
Join Date: Sep 2012
Last Activity: 20 September 2014, 1:16 AM EDT
Posts: 45
Thanks: 11
Thanked 0 Times in 0 Posts
"menuconfig" utility in Linux

Hello All,
I have a Kconfig file which contains configuration flags which will be set according to product.When you run "mconf" on Kconfig file you get a window where you can load default configuration file. My questions is that, Can we do this thing in shell script ? Is there any way to load default configuration stored in a file (let's say XYZ.cfg) in shell script ?
Something like below .....

mconf -f ./config/XYZ.cfg Kconfig

Thanks in advance !!!

Anand Shah
Sponsored Links
Old Unix and Linux 07-01-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 587 Times in 560 Posts
If you want specific changes, you can compare the files before and after each setting, and directly modify the files. You might need to signal the daemon procs to get a config reread. If you strace/truss/tusc the gui process, you can see any signals sent and emulate them with kill.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

All times are GMT -4. The time now is 03:33 AM.