projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b1e93f
)
Handle rc.conf.d directory
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 12 Jul 2010 08:12:39 +0000
(
01:12
-0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 12 Jul 2010 08:12:39 +0000
(
01:12
-0700)
net/freebsd-lib.pl
patch
|
blob
|
history
diff --git
a/net/freebsd-lib.pl
b/net/freebsd-lib.pl
index
838df1b
..
6641ec0
100755
(executable)
--- a/
net/freebsd-lib.pl
+++ b/
net/freebsd-lib.pl
@@
-535,7
+535,9
@@
if (!$found && @_ > 1) {
sub get_rc_conf
{
local ($file, %rv);
-foreach $file ("/etc/defaults/rc.conf", "/etc/rc.conf") {
+foreach $file ("/etc/defaults/rc.conf",
+ glob("/etc/rc.conf.d/*"),
+ "/etc/rc.conf") {
&open_readfile(FILE, $file);
while(<FILE>) {
s/\r|\n//g;