summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-12 12:31:27 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-12 12:31:27 +0000
commit1c9d323d75bac753c929a80908cee99a1a3a93ee (patch)
tree96cff33283f0e3b31fad92a0f38564c3b95c4561 /perl-install
parentfa6ee0fc9cc900911e83a0bd7c40e7fe938c21b8 (diff)
downloaddrakx-1c9d323d75bac753c929a80908cee99a1a3a93ee.tar
drakx-1c9d323d75bac753c929a80908cee99a1a3a93ee.tar.gz
drakx-1c9d323d75bac753c929a80908cee99a1a3a93ee.tar.bz2
drakx-1c9d323d75bac753c929a80908cee99a1a3a93ee.tar.xz
drakx-1c9d323d75bac753c929a80908cee99a1a3a93ee.zip
Fix running ifup/ifdown not in chroot
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/tools.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 29d9946c3..d99e0f39e 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -55,12 +55,12 @@ sub passwd_by_login {
sub connect_backend {
my ($netc) = @_;
- run_program::rooted({ detach => 1, root => $::prefix }, "/sbin/ifup", $netc->{NET_INTERFACE});
+ run_program::raw({ detach => 1, root => $::prefix }, "/sbin/ifup", $netc->{NET_INTERFACE});
}
sub disconnect_backend {
my ($netc) = @_;
- run_program::rooted({ detach => 1, root => $::prefix }, "/sbin/ifdown", $netc->{NET_INTERFACE});
+ run_program::raw({ detach => 1, root => $::prefix }, "/sbin/ifdown", $netc->{NET_INTERFACE});
}
sub bg_command_as_root {