Skip to content

Commit

Permalink
Update inisleep.cna
Browse files Browse the repository at this point in the history
  • Loading branch information
timwhitez authored Dec 4, 2019
1 parent c2c7ac7 commit d7e9ffd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/inisleep.cna
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@

on heartbeat_5s {
local('$entry');
foreach $entry (beacons()) {
if($entry['last'] > 80000 || (($entry['alive']) eq "false")){
beacon_remove($entry['id']);
}
}
}

on beacon_initial {
bsleep($1, 10, 20);
bsleep($1, 10, 30);
bnote($1, " Ver: ".beacon_info($1,"ver"));
}

0 comments on commit d7e9ffd

Please sign in to comment.