Fix HCI logger service's option to launch btmon
[platform/core/connectivity/bluetooth-tools.git] / scripts / mobile / bt-stack-up.sh
index ddbf664..6e73382 100644 (file)
@@ -10,7 +10,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
 
 if !(/usr/bin/hciconfig | grep hci); then
        echo "Registering BT device is failed."
-       /usr/bin/touch /run/.hci_logger_stop
+       systemctl stop bluetooth-hci-logger.service
        exit 1
 fi