Parent Directory | Revision Log
* added Reboot method * much less screen output without debug option
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 | |
12 | my $port = 3333; |
13 | my $debug = shift @ARGV; |
14 | |
15 | my $server = CWMP::Server->new({ |
16 | port => $port, |
17 | debug => $debug, |
18 | queue => [ qw/ |
19 | GetRPCMethods |
20 | Reboot |
21 | / ], |
22 | }); |
23 | $server->run(); |
24 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |