29 lines
686 B
Perl
Executable File
29 lines
686 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
#
|
|
# An OpenSLP webmin module
|
|
# by Monty Charlton <monty@caldera.com>,
|
|
#
|
|
# Copyright (c) 2000 Caldera Systems
|
|
#
|
|
# Permission to use, copy, modify, and distribute this software and its
|
|
# documentation under the terms of the GNU General Public License is hereby
|
|
# granted. No representations are made about the suitability of this software
|
|
# for any purpose. It is provided "as is" without express or implied warranty.
|
|
# See the GNU General Public License for more details.
|
|
#
|
|
|
|
require './slp-lib.pl';
|
|
&ReadParse();
|
|
|
|
# Process Boolean Items
|
|
if ($in{'isDA'}) {
|
|
&enable_single_val_line('true','isDA');
|
|
}
|
|
else {
|
|
&disable_line('isDA');
|
|
}
|
|
|
|
&restart();
|
|
&redirect("");
|
|
|