summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/adsl.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index a29f80cdd..7af9bef50 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -104,6 +104,10 @@ sub sagem_set_parameters {
s/STATIC_IP=.*\n//;
s!</eaglectrl>!STATIC_IP=$netc->{static_ip}\n</eaglectrl>! if $netc->{static_ip};
} "$::prefix$cfg_file";
+ my $cmv;
+ $cmv = "$::prefix/etc/eagle-usb/CMVep$netc->{provider_id}.txt" if $netc->{provider_id};
+ -f $cmv or $cmv = "$::prefix/etc/eagle-usb/CMVepWO.txt";
+ symlink("$::prefix/etc/eagle-usb/CMVep.txt", $cmv);
}
}