#!/bin/sh debug_mesg () { [ -n "$UDEV_LOG" ] && /bin/logger -t bluetooth "$@" } if [ "${ACTION}" = "add" ] then debug_mesg "Starting bluetooth service" /sbin/service bluetooth status >/dev/null || /sbin/service bluetooth start debug_mesg "Starting hidd" /sbin/service hidd status >/dev/null || /sbin/service hidd start fi