From 609fd19c07eb7d5ae41b10618b17491b5967d097 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 13 Sep 2005 17:46:06 +0000 Subject: fix start/stop of interfaces that are not set to start on boot --- perl-install/network/tools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/network') diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index a80397400..9445f6a2b 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -60,7 +60,7 @@ sub run_interface_command { my ($command, $intf, $detach) = @_; my @command = !$> || system("/usr/sbin/usernetctl $intf report") == 0 ? - ($command, $intf, if_(!$::isInstall, "boot")) : + ($command, $intf, if_(!$::isInstall, "daemon")) : wrap_command_for_root($command, $intf); run_program::raw({ detach => $detach, root => $::prefix }, @command); } -- cgit v1.2.1