summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-26 15:13:03 +0200
committerSimon Rettberg2020-08-26 15:13:03 +0200
commite4d2cde132dbe4a7707e36b0fdc1770ad56d55b6 (patch)
tree10cb770e3470ad9f2275229d71f8b4d8faa1c0e5 /modules-available
parent[dnbd3] Fix randomization of servers with same prio (diff)
downloadslx-admin-e4d2cde132dbe4a7707e36b0fdc1770ad56d55b6.tar.gz
slx-admin-e4d2cde132dbe4a7707e36b0fdc1770ad56d55b6.tar.xz
slx-admin-e4d2cde132dbe4a7707e36b0fdc1770ad56d55b6.zip
[rebootcontrol] busybox timeout was patched to behave like coreutils
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/rebootcontrol/hooks/cron.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/rebootcontrol/hooks/cron.inc.php b/modules-available/rebootcontrol/hooks/cron.inc.php
index 93f2de38..d637d3f5 100644
--- a/modules-available/rebootcontrol/hooks/cron.inc.php
+++ b/modules-available/rebootcontrol/hooks/cron.inc.php
@@ -36,7 +36,7 @@ function spawnDestinationListener($dstid, &$destMachine, &$destTask, &$destDeadl
$destDeadline = 0;
foreach ($destMachines as $machine) {
cron_log("Trying to use {$machine['clientip']} as listener for " . long2ip($machine['bcast']));
- $destTask = RebootControl::runScript([$machine], "echo 'Running-MARK'\nbusybox timeout -t 8 jawol -v -l -l", 10);
+ $destTask = RebootControl::runScript([$machine], "echo 'Running-MARK'\nbusybox timeout 8 jawol -v -l -l", 10);
Taskmanager::release($destTask);
$destDeadline = time() + 10;
if (!Taskmanager::isRunning($destTask))