![Ubuntu 12.4에서 부팅 시 Bluetooth 장치를 비활성화하는 방법](https://linux55.com/image/36623/Ubuntu%2012.4%EC%97%90%EC%84%9C%20%EB%B6%80%ED%8C%85%20%EC%8B%9C%20Bluetooth%20%EC%9E%A5%EC%B9%98%EB%A5%BC%20%EB%B9%84%ED%99%9C%EC%84%B1%ED%99%94%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95.png)
Ubuntu 12.4에서 부팅 시 블루투스 장치를 비활성화하는 방법에 대해 /etc/init/bluetooth.conf
파일에 액세스하고 해당 #start on started dbus
줄에 주석을 달았습니다. 그러나 컴퓨터가 시작되면 Bluetooth 장치는 계속 실행 중입니다.
시스템 시작 시 블루투스 장치를 비활성화하는 방법은 무엇입니까?
답변1
시작 시 Bluetooth 서비스가 비활성화됩니다.
# bluez - bluetooth daemon
description "bluetooth daemon"
#start on started dbus
stop on runlevel [0123456]
bluetooth.conf
파일을 편집하는 동안 오류가 발생한 것 같습니다. 댓글을 남기시나요 stop on stopping dbus
?
Bluetooth 장치를 끄려면 부팅 시 로드되는 커널 모듈에서 Bluetooth 장치를 제거해 보십시오. 편집하고 /etc/modprobe.d/blacklist.conf
다음 줄을 추가하세요.
blacklist bluetooth
답변2
다음 줄을 추가해 볼 수 있습니다.
sudo hciconfig hci0 down
명령 /etc/rc.local
앞에 exit
. 를 사용하여 이 파일을 편집할 수 있습니다 sudo nano /etc/rc.local
.