diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-04-12 12:31:27 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-04-12 12:31:27 +0000 |
commit | 1c9d323d75bac753c929a80908cee99a1a3a93ee (patch) | |
tree | 96cff33283f0e3b31fad92a0f38564c3b95c4561 /perl-install/network/tools.pm | |
parent | fa6ee0fc9cc900911e83a0bd7c40e7fe938c21b8 (diff) | |
download | drakx-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/network/tools.pm')
-rw-r--r-- | perl-install/network/tools.pm | 4 |
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 { |