sbin/*hammer: Use typedef'd for struct zone_stat*
[dragonfly.git] / etc / rc.d / devfs
blobb13f0a4f9bdbdbf0ed8266b0ec6df5e6abea7631
1 #!/bin/sh
3 # Load default devfs(5) rules.
6 # PROVIDE: devfs
7 # REQUIRE: rcconf
8 # BEFORE: disks initrandom
10 . /etc/rc.subr
12 name="devfs"
14 load_rc_config $name
15 dummy_rc_command "$1"
17 load_rules()
19 echo -n "Loading devfs rules:"
20 set -- $devfs_config_files
21 for file; do
22 [ -r $file ] && echo -n " $file" && /sbin/devfsctl -a -f $file
23 done
24 echo '.'
27 case "$1" in
28 *start)
29 load_rules
31 esac