mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
12 lines
257 B
Perl
Executable File
12 lines
257 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# delete_host.cgi
|
|
# Remove a managed host from the list
|
|
|
|
require './cluster-usermin-lib.pl';
|
|
&ReadParse();
|
|
@hosts = &list_usermin_hosts();
|
|
($host) = grep { $_->{'id'} == $in{'id'} } @hosts;
|
|
&delete_usermin_host($host);
|
|
&redirect("");
|
|
|