diff -ru bluez-utils-2.11.orig/hcid/hcid.conf bluez-utils-2.11/hcid/hcid.conf --- bluez-utils-2.11.orig/hcid/hcid.conf 2004-11-11 19:42:31.000000000 +0100 +++ bluez-utils-2.11/hcid/hcid.conf 2004-12-01 09:30:57.000000000 +0100 @@ -14,7 +14,7 @@ # auto - Use local PIN for incoming connections # user - Always ask user for a PIN # - security auto; + security user; # Pairing mode # none - Pairing disabled @@ -23,7 +23,7 @@ pairing multi; # PIN helper - pin_helper /usr/bin/bluepin; + pin_helper /usr/lib/kdebluetooth/kbluepin; # D-Bus PIN helper #dbus_pin_helper; diff -ru bluez-utils-2.11.orig/scripts/bluetooth.init bluez-utils-2.11/scripts/bluetooth.init --- bluez-utils-2.11.orig/scripts/bluetooth.init 2004-05-08 00:57:34.000000000 +0200 +++ bluez-utils-2.11/scripts/bluetooth.init 2004-12-01 09:32:35.000000000 +0100 @@ -2,7 +2,10 @@ # # Start/stop the Bluetooth daemons # - +# chkconfig: 2345 95 5 +# processname: hcid spd hidd +# description: bluetooth service +# set -e PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -40,7 +43,7 @@ DUND_OPTIONS="" PAND_OPTIONS="" -[ -e /etc/default/bluetooth ] && . /etc/default/bluetooth +[ -e /etc/sysconfig/bluetooth ] && . /etc/sysconfig/bluetooth case "$1" in start) @@ -93,9 +96,13 @@ echo -n " $HCID_NAME" echo "." ;; + restart) + stop + start + ;; *) N=/etc/init.d/$NAME - echo "Usage: $N {start|stop}" >&2 + echo "Usage: $N {start|stop|restart}" >&2 exit 1 ;; esac