diff options
Diffstat (limited to 'bluez/bluez')
-rwxr-xr-x | bluez/bluez | 34 |
1 files changed, 25 insertions, 9 deletions
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 ;; |