openvpn-install/share-client-config.pl

11 lines
308 B
Perl
Raw Normal View History

2024-03-27 09:12:07 +01:00
#!/usr/bin/perl
use strict;
use warnings;
use diagnostics;
2024-03-27 09:15:53 +01:00
my $clients = `cp -avr /etc/openvpn/client/* /var/www/html/`;
print "$clients"
2024-03-27 09:28:23 +01:00
my $open_aapache = `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!"