Re: stable and portable "NM_CONTROLLED=no "?



On Wednesday 03 of March 2010 16:07:17 Marc Herbert wrote:
> Jirka Klimes a écrit :
> >> unmanaged-devices=/org/freedesktop/Hal/devices/net_00_1f_11_01_06_55;/or
> >> g/f
> > 
> > For older HAL-dependent NM, the above described example should work.
> > For new NM (without HAL), unmaneged-devices are specified by its hardware
> > address. So use something like this:
> > 
> > [keyfile]
> > unmanaged-devices=mac:00:1e:65:30:d1:c4;mac:00:22:68:11:59:a1
> > 
> > (use lowercase in MAC)
> 
> Thanks Jirka.
> 
> Upgrading from 0.7 to 0.8 looks like it will be very easy so I will drop
> ifcfg-rh and use keyfile already with 0.7. Among others this will save
> me the annoying TYPE or DEVICE parameter that ifcfg-rh requires.
> 
> Could I generate a file like this:
> 
> [keyfile]
> unmanaged-devices=mac:00:1e:65:30:d1:c4;org/freedesktop/Hal/devices/net_00_
> 1e_65_30_d1_c4
> 
> I mean, would this work with both 0.7 and 0.8 and be safe to both?
> 

Hmm, that could work as the entries are compared (by strcmp()) and those that 
match are taken, others are ignored.


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