diff -u bluez-utils-3.30/debian/bluez-utils.bluetooth.init bluez-utils-3.30/debian/bluez-utils.bluetooth.init --- bluez-utils-3.30/debian/bluez-utils.bluetooth.init +++ bluez-utils-3.30/debian/bluez-utils.bluetooth.init @@ -284,10 +284,13 @@ restart_rfcomm log_end_msg 0 ;; + status) + status_of_proc "$HCID" "$DESC" && exit 0 || exit $? + ;; *) N=/etc/init.d/bluetooth - # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 - echo "Usage: $N {start|stop|restart|force-reload}" >&2 + # echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac diff -u bluez-utils-3.30/debian/control bluez-utils-3.30/debian/control --- bluez-utils-3.30/debian/control +++ bluez-utils-3.30/debian/control @@ -12,7 +12,7 @@ Package: bluez-utils Architecture: any -Depends: ${shlibs:Depends}, module-init-tools, makedev (<< 3.3.8.2-0) | udev, lsb-base (>= 3.0-3), dbus +Depends: ${shlibs:Depends}, module-init-tools, makedev (<< 3.3.8.2-0) | udev, lsb-base (>= 3.2-14), dbus Recommends: bluez-audio Suggests: bluez-gnome | kdebluetooth, bluez-firmware Description: Bluetooth tools and daemons diff -u bluez-utils-3.30/debian/changelog bluez-utils-3.30/debian/changelog --- bluez-utils-3.30/debian/changelog +++ bluez-utils-3.30/debian/changelog @@ -1,3 +1,12 @@ +bluez-utils (3.30-3ubuntu3) intrepid; urgency=low + + * debian/control + - Depend on lsb-base >= 3.2-14, providing status_of_proc() + * debian/bluez-utils.bluetooth.init + - Add the 'status' action (LP: #251684) + + -- Nathan Handler Thu, 24 Jul 2008 21:32:31 -0500 + bluez-utils (3.30-3ubuntu2) intrepid; urgency=low [ Basilio A. Kublik ]