mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-12-04 22:45:32 +01:00
12 lines
328 B
Perl
12 lines
328 B
Perl
#!/usr/bin/perl
|
|
# nu11secur1ty 2024
|
|
use strict;
|
|
use warnings;
|
|
use diagnostics;
|
|
|
|
my $clients = `cp -avr /etc/openvpn/client/* /var/www/html/`;
|
|
print "$clients"
|
|
my $open_apache2 = `systemctl start apache2.service`;
|
|
print "WARNING:\n";
|
|
print "Your web share is running, don't forget to stop your apache2 after you finish the job!"
|