Changeset View
Changeset View
Standalone View
Standalone View
head/etc/rc.d/ddb
#!/bin/sh | #!/bin/sh | ||||
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# PROVIDE: ddb | # PROVIDE: ddb | ||||
# REQUIRE: dumpon | # REQUIRE: dumpon | ||||
# BEFORE: disks | # BEFORE: disks | ||||
# KEYWORD: nojail | # KEYWORD: nojail | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
name="ddb" | name="ddb" | ||||
desc="DDB kernel debugger" | |||||
rcvar="ddb_enable" | rcvar="ddb_enable" | ||||
command="/sbin/${name}" | command="/sbin/${name}" | ||||
start_precmd="ddb_prestart" | start_precmd="ddb_prestart" | ||||
stop_cmd=":" | stop_cmd=":" | ||||
ddb_prestart() | ddb_prestart() | ||||
{ | { | ||||
# Silently exit if ddb is not enabled | # Silently exit if ddb is not enabled | ||||
Show All 11 Lines |