From e4698d0aae2107c79757ac66a2e791ad16a4c0a2 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 26 Aug 2020 15:13:03 +0200 Subject: [rebootcontrol] busybox timeout was patched to behave like coreutils --- modules-available/rebootcontrol/hooks/cron.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3-55-g7522