RPi3 Disable Bluetooth Or WiFi By Default
Step
- Use - sudo mount /dev/mmcblk0p1 /mntto mount SD Card 
- Use - sudo vim /mnt/config.txtto edit config 
- Disable WiFi Add the following script to disable WiFi - dtoverlay=pi3-disable-wifi 
- Disable Bluetooth Add the following script to disable Bluetooth - dtoverlay=pi3-disable-bt 
- And then use the following script to shutdown the services of bluetooth - sudo systemctl disable hciuart.service Then Then- sudo systemctl disable bluetooth.service 
- Reboot - sudo reboot 
- Now you can use - iwconfigto check if the WiFi is disabled 
- Also can use - hciconfigto check if the Bluetooth is disabled 
Note
I don't know why if I use sudo systemctl disable bluealsa.service to disable bluealsa,
the raspberry pi will show this :
Failed to disable unit: No such file or directory
 Maybe Raspbian-Stretch has remove this service by default ?
Maybe Raspbian-Stretch has remove this service by default ?