blob: 6d6f5a15c9754e6c0b50732b74741cecf5374f54 (
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 = shift || "/etc/lighttpd/";
my $enabled = "conf-enabled/*.conf";
chdir($confdir);
my @files = bsd_glob($enabled);
for my $file (@files)
{
print "include \"$file\"";
}
|