repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix UTIME_OMIT handling
[dragonfly.git]
/
etc
/
rc.d
/
devfs
blob
6825f2cfcc654050bb82721e5dbcb8ea9c956f57
1
#!/bin/sh
2
#
3
# Load default devfs(5) rules.
4
#
5
6
# PROVIDE: devfs
7
# REQUIRE: rcconf
8
# BEFORE: disks
9
10
.
/
etc
/
rc.subr
11
12
name
=
"devfs"
13
14
load_rc_config
$name
15
dummy_rc_command
"
$1
"
16
17
load_rules
()
18
{
19
echo -n
"Loading devfs rules:"
20
set --
$devfs_config_files
21
for
file
;
do
22
if
[
-r
$file
];
then
23
echo -n
"
$file
"
24
/
sbin
/
devfsctl
-a -f
$file
25
fi
26
done
27
echo
'.'
28
}
29
30
case
"
$1
"
in
31
*
start
)
32
load_rules
33
;;
34
esac