/[cwmp]/google/bin/acs.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /google/bin/acs.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 57 - (show annotations)
Wed Jun 20 21:31:03 2007 UTC (16 years, 11 months ago) by dpavlin
File MIME type: text/plain
File size: 411 byte(s)
added command-line options --debug (can be specified multiple times) and --port (3333 by default)
1 #!/usr/bin/perl -w
2
3 # acs.pl
4 #
5 # 06/18/07 09:19:54 CEST Dobrica Pavlinusic <dpavlin@rot13.org>
6
7 use strict;
8
9 use lib './lib';
10 use CWMP::Server;
11 use Getopt::Long;
12
13 my $port = 3333;
14 my $debug = 0;
15
16 GetOptions(
17 'debug+' => \$debug,
18 'port=i' => \$port,
19 );
20
21 my $server = CWMP::Server->new({
22 port => $port,
23 debug => $debug,
24 queue => [ qw/
25 GetRPCMethods
26 GetParameterNames
27 / ],
28 # Reboot
29 });
30 $server->run();
31

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26