diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-17 06:44:18 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-17 06:44:18 +0000 |
commit | c5106c6d1ae46ffe22cdfa348aebce2587583414 (patch) | |
tree | 44625315c94080afb4e99a60fe64504c206de48f /perl-install/network | |
parent | e89291df47eefc48aa874b4d5f5135637e4baaca (diff) | |
download | drakx-c5106c6d1ae46ffe22cdfa348aebce2587583414.tar drakx-c5106c6d1ae46ffe22cdfa348aebce2587583414.tar.gz drakx-c5106c6d1ae46ffe22cdfa348aebce2587583414.tar.bz2 drakx-c5106c6d1ae46ffe22cdfa348aebce2587583414.tar.xz drakx-c5106c6d1ae46ffe22cdfa348aebce2587583414.zip |
fix suckiness (write proper iftab)
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/network.pm | 2 |
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}; |