diff options
| author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-08-01 12:55:06 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-08-01 12:55:06 +0000 |
| commit | 8ef48707e6dbedfd4594e0bc0fdd53b66a80d804 (patch) | |
| tree | c42133f45271148681f0e3258ea8bcc3a7154f49 /meta/packages/bluez/bluez-utils/add-init-deps.patch | |
| parent | de9da957b93460786999d9801061854003000e59 (diff) | |
| download | poky-8ef48707e6dbedfd4594e0bc0fdd53b66a80d804.tar.gz | |
bluez-utils: added dependencies and restart function to init script
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4999 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/bluez/bluez-utils/add-init-deps.patch')
| -rw-r--r-- | meta/packages/bluez/bluez-utils/add-init-deps.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/bluez/bluez-utils/add-init-deps.patch b/meta/packages/bluez/bluez-utils/add-init-deps.patch new file mode 100644 index 0000000000..45bcce5aa9 --- /dev/null +++ b/meta/packages/bluez/bluez-utils/add-init-deps.patch | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | --- | ||
| 2 | scripts/bluetooth.init | 8 ++++++++ | ||
| 3 | 1 file changed, 8 insertions(+) | ||
| 4 | |||
| 5 | --- bluez-utils-3.18.orig/scripts/bluetooth.init | ||
| 6 | +++ bluez-utils-3.18/scripts/bluetooth.init | ||
| 7 | @@ -1,6 +1,14 @@ | ||
| 8 | #!/bin/sh | ||
| 9 | +### BEGIN INIT INFO | ||
| 10 | +# Provides: bluetooth | ||
| 11 | +# Required-Start: $local_fs $syslog $remote_fs dbus | ||
| 12 | +# Required-Stop: $local_fs $syslog $remote_fs | ||
| 13 | +# Default-Start: 2 3 4 5 | ||
| 14 | +# Default-Stop: 0 1 6 | ||
| 15 | +# Short-Description: Start bluetooth daemons | ||
| 16 | +### END INIT INFO | ||
| 17 | # | ||
| 18 | # Start/stop the Bluetooth daemons | ||
| 19 | # | ||
| 20 | |||
| 21 | set -e | ||
