mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Skip FreeBSD actions like NETWORKING
This commit is contained in:
@@ -1251,6 +1251,7 @@ foreach my $dir (split(/\s+/, $config{'rc_dir'})) {
|
||||
opendir(DIR, $dir);
|
||||
foreach my $f (readdir(DIR)) {
|
||||
next if ($f =~ /^\./ || $f =~ /\.(bak|tmp)/i);
|
||||
next if (uc($f) eq $f); # Dummy actions are upper-case
|
||||
local $name = $f;
|
||||
$name =~ s/\.sh$//;
|
||||
local $data = &read_file_contents("$dir/$f");
|
||||
|
||||
Reference in New Issue
Block a user