"menuconfig" utility in Linux | Unix Linux Forums | UNIX for Dummies Questions & Answers

  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 Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-01-2013
anand.shah anand.shah is offline
Registered User
 
Join Date: Sep 2012
Last Activity: 24 December 2013, 7:27 AM EST
Posts: 37
Thanks: 9
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 07-01-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 4 April 2014, 4:57 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,359
Thanks: 8
Thanked 534 Times in 513 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 Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 02:43 AM.