Current Path : /compat/linux/proc/68247/root/compat/linux/proc/68247/root/compat/linux/proc/68247/root/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 : //compat/linux/proc/68247/root/compat/linux/proc/68247/root/compat/linux/proc/68247/root/etc/rc.d/bthidd |
#!/bin/sh # # $FreeBSD: release/9.1.0/etc/rc.d/bthidd 231653 2012-02-14 10:16:56Z dougb $ # # PROVIDE: bthidd # REQUIRE: DAEMON hcsecd # BEFORE: LOGIN # KEYWORD: nojail shutdown . /etc/rc.subr name="bthidd" rcvar="bthidd_enable" command="/usr/sbin/${name}" pidfile="/var/run/${name}.pid" start_precmd="bthidd_prestart" bthidd_prestart() { load_kld -m kbdmux kbdmux load_kld -m vkbd vkbd load_kld -m ng_btsocket ng_btsocket return 0 } load_rc_config $name config="${bthidd_config:-/etc/bluetooth/${name}.conf}" hids="${bthidd_hids:-/var/db/${name}.hids}" command_args="-c ${config} -H ${hids} -p ${pidfile}" required_files="${config}" run_rc_command "$1"