diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /bin/tron-scan | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'bin/tron-scan')
-rwxr-xr-x | bin/tron-scan | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/bin/tron-scan b/bin/tron-scan deleted file mode 100755 index 914d6d407..000000000 --- a/bin/tron-scan +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/perl - -use FS::UID qw(adminsuidsetup); -use FS::Conf; -use FS::Record qw(qsearch); -use FS::Tron qw(tron_scan tron_lint); -use FS::cust_svc; - -adminsuidsetup shift; - -my $conf = new FS::Conf; -my $mcp_svcpart = $conf->config('mcp_svcpart') or die "no mcp_svcpart"; - -#tron_scan($_) foreach qsearch('cust_svc', { 'svcpart' => $mcp_svcpart } ); -foreach my $svc ( qsearch('cust_svc', { 'svcpart' => $mcp_svcpart } ) ) { - my $error = tron_scan($svc); - warn $error if $error; - - my @lint = tron_lint($svc); - print $svc->svc_x->title. "\n". join('', map " $_\n", @lint ) - if @lint; -} - -1; |