Ñò
+z2Wc @ sd d Z d d k Z d d k l Z l Z l Z l Z d e f d „ ƒ YZ d e f d „ ƒ YZ d S( s Module handlingiÿÿÿÿNi ( t Conft odictt BadFilet VersionMismatcht ConfModulesc B s† e Z d Z d d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d
„ Z d „ Z d „ Z
d
„ Z d „ Z RS( sD ConfModules(Conf)
This reads /etc/modprobe.d/network.conf into a dictionary keyed on device type,
holding dictionaries: cm['eth0']['alias'] --> 'smc-ultra'
cm['eth0']['options'] --> {'io':'0x300', 'irq':'10'}
cm['eth0']['post-install'] --> ['/bin/foo', 'arg1',
'arg2']
path[*] entries are ignored (but not removed)
New entries are added at the end to make sure that they
come after any path[*] entries.
Comments are delimited by initial '#'
s /etc/modprobe.d/network.confc C s t i | | d d d ƒ d S( Nt #s t ( R t __init__( t selft filename( ( s? /usr/share/system-config-network/netconfpkg/conf/ConfModules.pyR s c C s t i | ƒ | i ƒ d S( N( R t readt initvars( R ( ( s? /usr/share/system-config-network/netconfpkg/conf/ConfModules.pyR
s
c C sá t ƒ | _ d
} | i ƒ x´| i ƒ o¦| i ƒ } xC | D]; } | o. | i ƒ i d ƒ o | | i | ƒ } Pq? q? Wt | ƒ d j o3| d | j o"| i i | d ƒ p: t h d d 6t ƒ d 6g d 6g d 6ƒ | i | d