Re: Configuring wireless adapters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jim Wildman wrote:

>On Tue, 30 May 2006, Philip Prindeville wrote:
>
>  
>
>>solution is.  I'd like to be able to get the file as:
>>
>>/etc/sysconfig/network-scripts/ifcfg-iwlan0
>>
>>(or whatever) written out in a semi-automatic way, but I
>>can't figure out how to do that.
>>
>>    
>>
>
>cat > /etc/sysconfig/network-scripts/ifcfg-iwlan0 <<ENDOFIWLAN0
>neat config stuff
>ENDOFIWLAN0
>
>comes to mind.
>
>gogole for 'bash "here document"'
>  
>

Um.... Look at Network.write() in /usr/lib/anaconda/network.py

I was thinking it would be nice to be able to do this in the same fashion
without having to replicate code... Goes back to my earlier comment
about being able to generate configs for interfaces that might be absent
at install time (such as hot-swap PCMCIA cards, etc).

-Philip




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux