summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/adsl.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 956de5862..815fead0d 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -4,6 +4,7 @@ use common;
use run_program;
use network::tools;
use network::ethernet;
+use modules;
use vars qw(@ISA @EXPORT);
use MDK::Common::Globals "network", qw($in $prefix $connect_file $disconnect_file);
@@ -126,6 +127,14 @@ $USERLINE
defaultroute
user "$adsl->{login}"
});
+ modules::add_alias($_->[0], $_->[1]) foreach([char-major-108, ppp_generic],
+ [tty-ldisc-3, ppp_async],
+ [tty-ldisc-13, n_hdlc],
+ [tty-ldisc-14, ppp_synctty],
+ [ppp-compress-21, bsd_comp],
+ [ppp-compress-24, ppp_deflate],
+ [ppp-compress-26, ppp_deflate]);
+ $::isStandalone and modules::write_conf($prefix);
}
if ($adsl_type eq 'pptp') {