X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/snom-frontend/blobdiff_plain/5e67f822bc7021baa1e7e39ccb634d31e31fc9a3..1b60460160078c2ba512f958fdd74ca7f2c18fdf:/snom.pl diff --git a/snom.pl b/snom.pl index 1682938..645a68e 100755 --- a/snom.pl +++ b/snom.pl @@ -1,5 +1,5 @@ #!/bin/sh -#$Id: snom.pl,v 1.44 2006-05-24 14:31:16 michael Exp $ +#$Id: snom.pl,v 1.45 2007-06-23 11:29:58 michael Exp $ PATH=/opt/csw/bin:/opt/local/bin:/usr/bin:/bin exec perl -w -x "$0" "$@" @@ -374,18 +374,24 @@ sub UpdatePhoneInfo } my @lines=split("\n", $response->content()); my $num = 0; + my $activated = 0; + foreach (@lines) { chomp; # # # - if (m/^\