From e89a37da7ac87a9cf79f9a8465ab306c9bcacf51 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 27 Feb 2020 10:51:14 +0100 Subject: [rebootcontrol] Fix WOL within same subnet --- modules-available/rebootcontrol/inc/rebootcontrol.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules-available/rebootcontrol/inc/rebootcontrol.inc.php b/modules-available/rebootcontrol/inc/rebootcontrol.inc.php index f392dcdc..4e21deee 100644 --- a/modules-available/rebootcontrol/inc/rebootcontrol.inc.php +++ b/modules-available/rebootcontrol/inc/rebootcontrol.inc.php @@ -247,6 +247,8 @@ class RebootControl $command = 'jawol'; if (!empty($bcast)) { $command .= " -d '$bcast'"; + } else { + $command .= ' -i br0'; } if (!empty($passwd)) { $command .= " -p '$passwd'"; -- cgit v1.2.3-55-g7522