summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog6
-rwxr-xr-xbin/ekgping8
2 files changed, 10 insertions, 4 deletions
diff --git a/Changelog b/Changelog
index ed5b0e8..2ebbed5 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,9 @@
+ekgping 1.1 - Thu Jun 16 2011
+
+ * You can now run ekgping -f beepfile without having to run
+ "./Build install"
+ * Add -t / --timout option (ping timeout for continuous beep)
+
ekgping 1.0 - Wed Jun 15 2011
* Initial release
diff --git a/bin/ekgping b/bin/ekgping
index 4ca1765..38e292b 100755
--- a/bin/ekgping
+++ b/bin/ekgping
@@ -13,7 +13,7 @@ use SDL::Music;
use Term::Size;
use Time::HiRes qw(usleep);
-our $VERSION = '1.0';
+our $VERSION = '1.1';
my $beep = 0;
my $id = 0;
@@ -24,7 +24,7 @@ my $column = 0;
my $column_max = Term::Size::chars;
my $beep_file;
-my $quiet = 0;
+my $quiet = 0;
my $timeout = 3;
GetOptions(
@@ -128,7 +128,7 @@ while ( usleep(100_000) ) {
else {
$beep = 0;
$dead_count++;
- if ( $dead_count > ($timeout * 10) ) {
+ if ( $dead_count > ( $timeout * 10 ) ) {
$beep = 1;
}
@@ -161,7 +161,7 @@ B<ekgping> [B<-q>] [B<-t> I<timeout>] [B<-f> I<file>] I<host> [B<--> I<ping opti
=head1 VERSION
-version 1.0
+version 1.1
=head1 DESCRIPTION