bthidd (f5dfe75da5ba2937f8766792f625f32fc3ef4757) bthidd (b11974c250671368e1eb869ca8ce2ed70622917f)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: bthidd
7# REQUIRE: DAEMON hcsecd
8# BEFORE: LOGIN

--- 20 unchanged lines hidden (view full) ---

29 return $?
30 ;;
31 esac
32}
33
34bthidd_prestart()
35{
36 if evdev_enabled; then
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: bthidd
7# REQUIRE: DAEMON hcsecd
8# BEFORE: LOGIN

--- 20 unchanged lines hidden (view full) ---

29 return $?
30 ;;
31 esac
32}
33
34bthidd_prestart()
35{
36 if evdev_enabled; then
37 load_kld uinput
37 load_kld -m uinput uinput
38 fi
38 fi
39 load_kld kbdmux
40 load_kld vkbd
41 load_kld ng_btsocket
39 load_kld -m kbdmux kbdmux
40 load_kld -m vkbd vkbd
41 load_kld -m ng_btsocket ng_btsocket
42 return 0
43}
44
45load_rc_config $name
46config="${bthidd_config:-/etc/bluetooth/${name}.conf}"
47hids="${bthidd_hids:-/var/db/${name}.hids}"
48command_args="-c ${config} -H ${hids} -p ${pidfile}"
49if evdev_enabled; then
50 command_args="$command_args -u"
51fi
52required_files="${config}"
53
54run_rc_command "$1"
42 return 0
43}
44
45load_rc_config $name
46config="${bthidd_config:-/etc/bluetooth/${name}.conf}"
47hids="${bthidd_hids:-/var/db/${name}.hids}"
48command_args="-c ${config} -H ${hids} -p ${pidfile}"
49if evdev_enabled; then
50 command_args="$command_args -u"
51fi
52required_files="${config}"
53
54run_rc_command "$1"