From 6a1536f54ba5200432b144c3554a65d7f634d24f Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 4 Mar 2012 01:07:27 +0100 Subject: bluez 4.98-2 correction initscript aaabasicfs-2012 --- bluez/.md5sum.i686 | 2 +- bluez/.md5sum.x86_64 | 2 +- bluez/Pkgfile | 2 +- bluez/bluez | 34 +++++++++++++++++++++++++--------- 4 files changed, 28 insertions(+), 12 deletions(-) (limited to 'bluez') diff --git a/bluez/.md5sum.i686 b/bluez/.md5sum.i686 index c73d63e27..d125bfe86 100644 --- a/bluez/.md5sum.i686 +++ b/bluez/.md5sum.i686 @@ -1,2 +1,2 @@ -73a35ce84eeee8dbab680660ae01be65 bluez +defb8d27ea2b9608c05f02711a7b78b2 bluez fb826fc0d866fed794f0391ef9172d12 bluez-4.98.tar.xz diff --git a/bluez/.md5sum.x86_64 b/bluez/.md5sum.x86_64 index c73d63e27..d125bfe86 100644 --- a/bluez/.md5sum.x86_64 +++ b/bluez/.md5sum.x86_64 @@ -1,2 +1,2 @@ -73a35ce84eeee8dbab680660ae01be65 bluez +defb8d27ea2b9608c05f02711a7b78b2 bluez fb826fc0d866fed794f0391ef9172d12 bluez-4.98.tar.xz diff --git a/bluez/Pkgfile b/bluez/Pkgfile index 2eba3633d..89aebea1e 100644 --- a/bluez/Pkgfile +++ b/bluez/Pkgfile @@ -7,7 +7,7 @@ name=bluez version=4.98 -release=1 +release=2 source=(http://www.kernel.org/pub/linux/bluetooth/$name-$version.tar.xz bluez) diff --git a/bluez/bluez b/bluez/bluez index 60a24badf..6e3015eec 100755 --- a/bluez/bluez +++ b/bluez/bluez @@ -1,29 +1,45 @@ #!/bin/sh + ######################################################################## -# Begin $rc_base/init.d/ +# Begin bluez # # Description : Lancement du sous-système bluetooth # # Authors : tnut +# Update : piernov - piernov@piernov.org # -# Version : 00.00 -# -# Notes : +# Version : 0.2 # ######################################################################## -. /etc/sysconfig/rc -. ${rc_functions} +### BEGIN INIT INFO +# Provides: bluez +# Required-Start: udev +# Should-Start: +# Required-Stop: +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 6 +# Short-Description: Lancement du sous-système bluetooth +# Description: Lance le démon bluez permettant la gestion des +# périphériques Bluetooth. +# X-LFS-Provided-By: NuTyX +### END INIT INFO + + +. /lib/lsb/init-functions case "${1}" in start) - boot_mesg "Starting bluetooth daemon..." - loadproc /usr/sbin/bluetoothd + log_info_msg "Starting bluetooth daemon..." + start_daemon /usr/sbin/bluetoothd + evaluate_retval ;; stop) - boot_mesg "Stopping bluetooth daemon..." + log_info_msg "Stopping bluetooth daemon..." killproc /usr/sbin/bluetoothd + evaluate_retval ;; -- cgit v1.2.3-54-g00ecf