~ubuntu-branches/ubuntu/vivid/bluez/vivid

« back to all changes in this revision

Viewing changes to debian/bluez_agent.udev

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-04-24 11:40:37 UTC
  • Revision ID: package-import@ubuntu.com-20140424114037-ta5ra2thncqbx0zs
Tags: 4.101-0ubuntu14
* Remove obsolete and unused udev helpers for bluetoothd and hid2hci.
* Enable systemd service file on installation. This hooks up the service in
  bluetooth.target which is activated by systemd when bluetooth hardware is
  attached. (Closes: #729808, LP: #1312032)
  - Add Build-Depends on dh-systemd.
  - Bump Build-Depends on cdbs to (>= 0.4.122) to get dh-systemd support.
  - Workaround a bug in cdbs, which doesn't run dh_install and dh_systemd
    the correct order, by pointing dh_systemd_enable and dh_systemd_start at
    the uninstalled service file. See #715504 for details.
  - Taken from Debian's 4.101-4.1, thanks Michael Biebl!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
2
 
# /usr is not guaranteed to be mounted when udev starts
3
 
 
4
 
(
5
 
        . /lib/udev/hotplug.functions
6
 
        wait_for_file /lib/udev/hid2hci
7
 
        exec /lib/udev/hid2hci "$@"
8
 
) &