projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7af76112c483791ec61767093775c64e17281fb5
[dragonfly.git]
/
etc
/
rc.d
/
devfs
1
#!/bin/sh
2
#
3
4
# PROVIDE: devfs
5
# REQUIRE: rcconf
6
# BEFORE: disks
7
8
. /etc/rc.subr
9
10
name="devfs"
11
load_rc_config $name
12
start_cmd="load_rules"
13
stop_cmd=":"
14
15
load_rules()
16
{
17
echo "Loading devfs rules"
18
set -- $devfs_config_files
19
for file; do
20
/sbin/devfsctl -a -f $file
21
done
22
23
}
24
25
load_rc_config $name
26
run_rc_command "$1"