mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-09 16:20:04 +01:00
Update revoke-cleaner.pl
This commit is contained in:
parent
296bcfbf36
commit
9c39b4be45
@ -38,7 +38,7 @@ print "$issued";
|
||||
## Cleaning
|
||||
my $ENVPKI = "/etc/openvpn/easy-rsa/pki/index.txt";
|
||||
print "Preparing for cleaning...\n";
|
||||
print "Please, choose the username...\n";
|
||||
print "Please, choose the username, or if you are not really sure, just press Enter to exit the cleaner...\n";
|
||||
|
||||
chomp (my $username = <STDIN>);
|
||||
my $cleaner = `sed -i '/$username/d' $ENVPKI`;
|
||||
|
Loading…
Reference in New Issue
Block a user