summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakTermServ
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2004-06-01 15:40:47 +0000
committerStew Benedict <stewb@mandriva.org>2004-06-01 15:40:47 +0000
commit1f6abba6caeaa38437aaafca9eae85cc79de01f3 (patch)
tree30840af8d1352d43a008b34a7ef7a59ae96d0b4b /perl-install/standalone/drakTermServ
parentec4c70b1ac6cd7b0cb39f7619df2a61ecc90b617 (diff)
downloaddrakx-backup-do-not-use-1f6abba6caeaa38437aaafca9eae85cc79de01f3.tar
drakx-backup-do-not-use-1f6abba6caeaa38437aaafca9eae85cc79de01f3.tar.gz
drakx-backup-do-not-use-1f6abba6caeaa38437aaafca9eae85cc79de01f3.tar.bz2
drakx-backup-do-not-use-1f6abba6caeaa38437aaafca9eae85cc79de01f3.tar.xz
drakx-backup-do-not-use-1f6abba6caeaa38437aaafca9eae85cc79de01f3.zip
Use array rather than hash per Thierry.
Insure ftp transfers are binary, fix gui problem (in 10.0 update also).
Diffstat (limited to 'perl-install/standalone/drakTermServ')
-rwxr-xr-xperl-install/standalone/drakTermServ4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ
index 80f0bce1d..78031be88 100755
--- a/perl-install/standalone/drakTermServ
+++ b/perl-install/standalone/drakTermServ
@@ -1945,8 +1945,8 @@ sub create_client_sysnetwork {
my ($hostname, $ip) = @_;
log::explanations("Adding /etc/sysconfig/network for $ip");
my $network_file = "/etc/sysconfig/network\$\$IP=$ip\$\$";
- my %net_data = ("HOSTNAME=$hostname\n", "NETWORKING=yes\n", "FORWARD_IPV4=false\n");
- output_p($network_file, %net_data);
+ my @net_data = ("HOSTNAME=$hostname\n", "NETWORKING=yes\n", "FORWARD_IPV4=false\n");
+ output_p($network_file, @net_data);
}
sub restart_server() {