summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/tools.pm')
-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 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 {