summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 2640fe9be..1f4fa3fb7 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1041,8 +1041,8 @@ Click on Ok to keep your configuration, or cancel to reconfigure your Internet &
"), 1)
and do {
$netcnx->{type} = 'lan';
- write_cnx_file(
- "$::prefix$network::tools::connect_file", 0755, qq(ifup eth0
+ # should use write_cnx_file:
+ output_with_perm("$::prefix$network::tools::connect_file", 0755, qq(ifup eth0
));
output("$::prefix$network::tools::disconnect_file", 0755, qq(
ifdown eth0