mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
13 lines
272 B
Perl
Executable File
13 lines
272 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Return a list of other Webmin servers as JSON
|
|
|
|
use strict;
|
|
use warnings;
|
|
no warnings 'redefine';
|
|
no warnings 'uninitialized';
|
|
require './servers-lib.pl';
|
|
|
|
# Get servers and apply search
|
|
my @servers = &list_servers_sorted(1);
|
|
print_json(\@servers);
|