summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-10-09 09:38:01 +0000
committerOlivier Blin <oblin@mandriva.org>2004-10-09 09:38:01 +0000
commit069349909b91120d26f2762a4c8c3b0b1e42d120 (patch)
tree26f540b074c176cd6343625ce0ca6009bba49dec /perl-install/standalone
parentef0535e8e07be73bd531b9e5a01fdbd5298a078c (diff)
downloaddrakx-069349909b91120d26f2762a4c8c3b0b1e42d120.tar
drakx-069349909b91120d26f2762a4c8c3b0b1e42d120.tar.gz
drakx-069349909b91120d26f2762a4c8c3b0b1e42d120.tar.bz2
drakx-069349909b91120d26f2762a4c8c3b0b1e42d120.tar.xz
drakx-069349909b91120d26f2762a4c8c3b0b1e42d120.zip
remove /etc/sysconfig/network-scripts/ethX files
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakconnect1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 3ac269d41..e344d4e36 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -700,6 +700,7 @@ sub del_intf() {
rm_rf("/etc/sysconfig/network-scripts/ifcfg-ippp0");
} else {
system("ifdown $intf2delete");
+ rm_rf("/etc/sysconfig/network-scripts/$intf2delete");
rm_rf("/etc/sysconfig/network-scripts/ifcfg-$intf2delete");
}
};