Current Path : /etc/rc.d/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //etc/rc.d/ddb |
#!/bin/sh # # $FreeBSD: release/9.1.0/etc/rc.d/ddb 231653 2012-02-14 10:16:56Z dougb $ # # PROVIDE: ddb # REQUIRE: dumpon # BEFORE: disks # KEYWORD: nojail . /etc/rc.subr name="ddb" 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"