summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/adsl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 68ad935d8..ecc38effe 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -283,7 +283,7 @@ INTERFACE=`$modems{$adsl_device}{get_intf}`
}
$netc->{NET_INTERFACE} = 'ppp0';
- write_cnx_script($netc);
+ exists $netc->{internet_cnx} and write_cnx_script($netc);
}
1;