Revision 5f2cafaf267c21f88857b06ae6e34febedc7ec0d authored by Mark Johnston on 05 July 2017, 19:24:53 UTC, committed by Mark Johnston on 05 July 2017, 19:24:53 UTC
Omit v_cache_count when computing the number of free pages, since its value is always 0. Approved by: re (gjb, kib)
1 parent 1da3ad1
ddb
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: ddb
# REQUIRE: dumpon
# BEFORE: disks
# KEYWORD: nojail
. /etc/rc.subr
name="ddb"
desc="DDB kernel debugger"
rcvar="ddb_enable"
command="/sbin/${name}"
start_precmd="ddb_prestart"
stop_cmd=":"
ddb_prestart()
{
# Silently exit if ddb is not enabled
if [ -z "`sysctl -Nq debug.ddb.scripting.scripts`" ]; then
return 1
fi
}
load_rc_config $name
required_files="${ddb_config}"
command_args="${ddb_config}"
run_rc_command "$1"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...