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
This commit is contained in:
Marcin Juszkiewicz
2008-08-01 12:55:06 +00:00
parent de9da957b9
commit 8ef48707e6
3 changed files with 46 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
---
scripts/bluetooth.init | 8 ++++++++
1 file changed, 8 insertions(+)
--- bluez-utils-3.18.orig/scripts/bluetooth.init
+++ bluez-utils-3.18/scripts/bluetooth.init
@@ -1,6 +1,14 @@
#!/bin/sh
+### BEGIN INIT INFO
+# Provides: bluetooth
+# Required-Start: $local_fs $syslog $remote_fs dbus
+# Required-Stop: $local_fs $syslog $remote_fs
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start bluetooth daemons
+### END INIT INFO
#
# Start/stop the Bluetooth daemons
#
set -e