Unix/Linux Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

"menuconfig" utility in Linux

UNIX for Dummies Questions & Answers


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
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 .....

Code:
mconf -f ./config/XYZ.cfg Kconfig

Thanks in advance !!!



Regards,
Anand Shah
Sponsored Links
    #2  
Old Unix and Linux 07-01-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 17 February 2015, 1:56 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,671
Thanks: 8
Thanked 586 Times in 559 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
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 12:01 PM.