ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/HostUpdate/HostUpdate.pl
(Generate patch)

Comparing HostUpdate/hostupdate.pl (file contents):
Revision 5 by Douglas Thrift, 2003-11-05T20:55:52-08:00 vs.
Revision 12 by Douglas Thrift, 2003-11-06T23:43:01-08:00

# Line 15 | Line 15 | my ($sysname, $nodename, $release, $vers
15  
16   $agent->agent("Host Update/1.0 ($sysname $release $machine) ");
17  
18 < my $response = $agent->post("http://douglaspc/cgi-bin/hostupdate.exe",
19 <        [host => $nodename]);
18 > my $response = $agent->get("http://douglaspc/cgi-bin/hostupdate.exe?host="
19 >        . $nodename);
20   my $content = $response->content;
21  
22   print "$content

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines