summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-17 06:44:18 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-17 06:44:18 +0000
commitc5106c6d1ae46ffe22cdfa348aebce2587583414 (patch)
tree44625315c94080afb4e99a60fe64504c206de48f /perl-install
parente89291df47eefc48aa874b4d5f5135637e4baaca (diff)
downloaddrakx-backup-do-not-use-c5106c6d1ae46ffe22cdfa348aebce2587583414.tar
drakx-backup-do-not-use-c5106c6d1ae46ffe22cdfa348aebce2587583414.tar.gz
drakx-backup-do-not-use-c5106c6d1ae46ffe22cdfa348aebce2587583414.tar.bz2
drakx-backup-do-not-use-c5106c6d1ae46ffe22cdfa348aebce2587583414.tar.xz
drakx-backup-do-not-use-c5106c6d1ae46ffe22cdfa348aebce2587583414.zip
fix suckiness (write proper iftab)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 146619e07..a30eb1909 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -145,7 +145,7 @@ sub write_interface_conf {
$intf->{HWADDR} &&= $mac_address; #- set HWADDR to MAC address if required
#- write interface MAC address in iftab (if any)
- substInFile { s/^$intf->{DEVICE}\s+.*\n//; $_ .= qq($intf->{DEVICE}\t$mac_address\n) if eof } "$::prefix/etc/iftab" if $mac_address;
+ substInFile { s/^$intf->{DEVICE}\s+.*\n//; $_ .= qq($intf->{DEVICE}\tmac $mac_address\n) if eof } "$::prefix/etc/iftab" if $mac_address;
my @ip = split '\.', $intf->{IPADDR};
my @mask = split '\.', $intf->{NETMASK};