diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-13 17:46:06 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-13 17:46:06 +0000 |
commit | 609fd19c07eb7d5ae41b10618b17491b5967d097 (patch) | |
tree | 0435a9c650c572f050da729a10e72c2996574351 /perl-install/network/tools.pm | |
parent | 5944300e28218ec4cba2ac7f19bc89a2234c115d (diff) | |
download | drakx-backup-do-not-use-609fd19c07eb7d5ae41b10618b17491b5967d097.tar drakx-backup-do-not-use-609fd19c07eb7d5ae41b10618b17491b5967d097.tar.gz drakx-backup-do-not-use-609fd19c07eb7d5ae41b10618b17491b5967d097.tar.bz2 drakx-backup-do-not-use-609fd19c07eb7d5ae41b10618b17491b5967d097.tar.xz drakx-backup-do-not-use-609fd19c07eb7d5ae41b10618b17491b5967d097.zip |
fix start/stop of interfaces that are not set to start on boot
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r-- | perl-install/network/tools.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |