diff --git a/root/etc/e-smith/events/actions/doraemon-wake b/root/etc/e-smith/events/actions/doraemon-wake index 1e47960..88b45fc 100755 --- a/root/etc/e-smith/events/actions/doraemon-wake +++ b/root/etc/e-smith/events/actions/doraemon-wake @@ -29,7 +29,7 @@ sub wake_host my $h = $db_hosts->get($hostName) or die "No host record for $hostName"; my $client = $h[0]; my $mac = $client->prop('MacAddress'); - system("/sbin/ether-wake -i lan0 $mac") == 0 + system("/sbin/ether-wake -b -i lan0 $mac") == 0 or die "Error waking up $hostName"; } diff --git a/root/etc/e-smith/events/actions/doraemon-wake-all b/root/etc/e-smith/events/actions/doraemon-wake-all index 274d231..73a34bb 100755 --- a/root/etc/e-smith/events/actions/doraemon-wake-all +++ b/root/etc/e-smith/events/actions/doraemon-wake-all @@ -14,7 +14,7 @@ my @items = $db_hosts->get_all('local'); foreach my $item (@items) { my $hostName = $item->key; my $mac = $item->prop('MacAddress'); - system("/sbin/ether-wake -i lan0 $mac &") == 0 + system("/sbin/ether-wake -b -i lan0 $mac &") == 0 or die "Error waking up $hostName"; }