summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-04-07 13:25:08 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-04-07 13:25:08 +0000
commit9be41eb66edc905de6dc516f256f8c06a929a8fd (patch)
tree1a1436f574abe7dd3db19760db688b8e579538d2 /lib/network/connection
parent11e1044d068c7beba3a7563026f60bbc8ffa31f8 (diff)
downloaddrakx-net-9be41eb66edc905de6dc516f256f8c06a929a8fd.tar
drakx-net-9be41eb66edc905de6dc516f256f8c06a929a8fd.tar.gz
drakx-net-9be41eb66edc905de6dc516f256f8c06a929a8fd.tar.bz2
drakx-net-9be41eb66edc905de6dc516f256f8c06a929a8fd.tar.xz
drakx-net-9be41eb66edc905de6dc516f256f8c06a929a8fd.zip
Using correct 70-persistent-net-rules file during installation (#49156).
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/ethernet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm
index fb2ab90..df629ec 100644
--- a/lib/network/connection/ethernet.pm
+++ b/lib/network/connection/ethernet.pm
@@ -496,7 +496,7 @@ sub update_iftab() {
sub update_udev_net_config() {
my $lib = arch() =~ /x86_64/ ? "lib64" : "lib";
my $net_name_helper = "/lib/udev/write_net_rules";
- my $udev_net_config = "/etc/udev/rules.d/70-persistent-net.rules";
+ my $udev_net_config = "$::prefix/etc/udev/rules.d/70-persistent-net.rules";
my @old_config = cat_($udev_net_config);
#- skip aliases and vlan interfaces
foreach my $intf (grep { network::tools::is_real_interface($_) } detect_devices::get_lan_interfaces()) {