Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/devd
| Show All 32 Lines | devd_prestart() | ||||
| # If devd is disabled, turn it off in the kernel to avoid unnecessary | # If devd is disabled, turn it off in the kernel to avoid unnecessary | ||||
| # memory usage. | # memory usage. | ||||
| if ! checkyesno ${rcvar}; then | if ! checkyesno ${rcvar}; then | ||||
| $SYSCTL hw.bus.devctl_queue=0 | $SYSCTL hw.bus.devctl_queue=0 | ||||
| fi | fi | ||||
| } | } | ||||
| load_rc_config $name | load_rc_config $name | ||||
| # doesn't make sense to run in a svcj: executing potential privileged operations | |||||
| devd_svcj="NO" | |||||
| run_rc_command "$1" | run_rc_command "$1" | ||||