diff options
author | piernov <piernov@piernov.org> | 2012-03-04 01:07:27 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-03-04 01:07:27 +0100 |
commit | 6a1536f54ba5200432b144c3554a65d7f634d24f (patch) | |
tree | ca3635e04796b9c51a720b7e6994bdbd79ab341f /bluez/bluez | |
parent | 0a4eaa2dbe08adb94b58f08d7bcb69fa2fccd732 (diff) | |
download | nutyx-extra-6a1536f54ba5200432b144c3554a65d7f634d24f.tar.gz nutyx-extra-6a1536f54ba5200432b144c3554a65d7f634d24f.tar.bz2 nutyx-extra-6a1536f54ba5200432b144c3554a65d7f634d24f.tar.xz nutyx-extra-6a1536f54ba5200432b144c3554a65d7f634d24f.zip |
bluez 4.98-2 correction initscript aaabasicfs-2012
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 ;; |