blob: 4e534ee1893019b651c60c1c51979e31c09d730e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/perl -wl
use strict;
use File::Glob ':glob';
my $confdir = "/etc/lighttpd/";
my $enabled = "conf-enabled/*.conf";
chdir($confdir);
my @files = bsd_glob($enabled);
for my $file (@files)
{
print "include \"$file\"";
}
|