]> git.pld-linux.org Git - packages/bluez.git/blobdiff - rfcomm.init
- verbose status messages, return code 3 if not running, minor fixes
[packages/bluez.git] / rfcomm.init
index 006c535b4b29e3afb9ca0f8cb6f14f0b2f51660b..4eea5bafa1262314744f0b67440a02148284a549 100644 (file)
@@ -37,7 +37,7 @@ stop() {
                daemon /usr/bin/rfcomm release all
                rm -f /var/lock/subsys/rfcomm
        else
-               msg_not_running bluetooth
+               msg_not_running rfcomm
        fi
 }
 
@@ -69,9 +69,11 @@ case "$1" in
        ;;
   status)
        if [ -f /var/lock/subsys/rfcomm ]; then
+               nls "rfcomm is running"
                exit 0
        else
-               exit 1
+               msg_not_running rfcomm
+               exit 3
        fi
        ;;
   *)
This page took 0.023743 seconds and 4 git commands to generate.