Access.
This commit is contained in:
parent
69b93c19dd
commit
a8ea02583c
|
@ -32,21 +32,6 @@ elsif (defined $options{r})
|
|||
else
|
||||
{ &Usage; }
|
||||
|
||||
sub Access() {
|
||||
my $Config = Config::Tiny->read( '/etc/evoauth/evoauth.conf' );
|
||||
|
||||
if ($Config->{control}->{enable} != 1) {
|
||||
print <<AVERT;
|
||||
|
||||
Avertissement Evoauth
|
||||
---------------------
|
||||
enable doit etre egal a 1 dans /etc/evoauth/evoauth.conf avant
|
||||
de continuer".
|
||||
AVERT
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
sub Usage() {
|
||||
print "\nusage :\n";
|
||||
print "-A : verification de l'activation\n";
|
||||
|
|
Reference in a new issue