summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/inc/rebootcontrol.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/rebootcontrol/inc/rebootcontrol.inc.php')
-rw-r--r--modules-available/rebootcontrol/inc/rebootcontrol.inc.php2
1 files changed, 2 insertions, 0 deletions
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'";