diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-08 07:22:30 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-08 07:22:30 +0000 |
commit | 89cd9fb99236d52ea276c4bfa111cafca433c48a (patch) | |
tree | b7dbd54d537d2b7ed39ec6ba1a0ea1210666d7ca /perl-install | |
parent | d28fe228e9616d4b1bc8a6a5bef53a423a5151a1 (diff) | |
download | drakx-89cd9fb99236d52ea276c4bfa111cafca433c48a.tar drakx-89cd9fb99236d52ea276c4bfa111cafca433c48a.tar.gz drakx-89cd9fb99236d52ea276c4bfa111cafca433c48a.tar.bz2 drakx-89cd9fb99236d52ea276c4bfa111cafca433c48a.tar.xz drakx-89cd9fb99236d52ea276c4bfa111cafca433c48a.zip |
(configureNetwork2) update iftab when config is written
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/network.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index 6e7d2afff..b88a5afee 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -423,6 +423,9 @@ sub configureNetwork2 { my ($in, $_prefix, $netc, $intf) = @_; my $etc = "$::prefix/etc"; if (!$::testing) { + require network::ethernet; + network::ethernet::update_iftab(); + $netc->{wireless_eth} and $in->do_pkgs->ensure_binary_is_installed('wireless-tools', 'iwconfig', 'auto'); write_conf("$etc/sysconfig/network", $netc); write_resolv_conf("$etc/resolv.conf", $netc) unless $netc->{DHCP}; |