"Gilles Espinasse" <[EMAIL PROTECTED]> writes:
>> > It's too complicated to copy back and forth depending on the ISP... just
>> > make a link that will do it, choosing CMVepWO.txt (or CMVeiWO.txt) =>
>> > that's what's done in eagleconfig.
>>
>> Done in CVS, but it only handle POTS lines.
>> How to know if we should use CMVep or CMVei ?
>>
>> Regards
> The driver know. So create both symlinks for pots and isdn.
> It is just that for isdn actually, it should always be CMVeiWO.txt
Good idea, done in CVS, it will be available in next 10.2 RC
Here's the code :
#- create CMV symlinks for both POTS and ISDN lines
foreach my $type (qw(p i)) {
my $cmv;
$cmv = "$::prefix/etc/eagle-usb/CMVe${type}$netc->{provider_id}.txt" if
$netc->{provider_id};
-f $cmv or $cmv = "$::prefix/etc/eagle-usb/CMVe${type}WO.txt";
symlink("$::prefix/etc/eagle-usb/CMVe${type}.txt", $cmv);
}
Thanks
--
Olivier Blin