diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-04-12 11:56:27 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-04-12 11:56:27 +0000 |
commit | 62d85df496747d6229223851cb4e6cdbf8f75612 (patch) | |
tree | c8383979f2074397c0d1e9c1c614611d046fce9c | |
parent | 8bb0c64017abed30348ce0ff939b65c104486cc7 (diff) | |
download | drakx-62d85df496747d6229223851cb4e6cdbf8f75612.tar drakx-62d85df496747d6229223851cb4e6cdbf8f75612.tar.gz drakx-62d85df496747d6229223851cb4e6cdbf8f75612.tar.bz2 drakx-62d85df496747d6229223851cb4e6cdbf8f75612.tar.xz drakx-62d85df496747d6229223851cb4e6cdbf8f75612.zip |
Need to specify the full path of ifup/ifdown when a shell isn't used to run them
-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 8d625bf26..29d9946c3 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 }, "ifup", $netc->{NET_INTERFACE}); + run_program::rooted({ detach => 1, root => $::prefix }, "/sbin/ifup", $netc->{NET_INTERFACE}); } sub disconnect_backend { my ($netc) = @_; - run_program::rooted({ detach => 1, root => $::prefix }, "ifdown", $netc->{NET_INTERFACE}); + run_program::rooted({ detach => 1, root => $::prefix }, "/sbin/ifdown", $netc->{NET_INTERFACE}); } sub bg_command_as_root { |