To completely disable WiFi and Bluetooth by disabling kernel modules in Raspbian / OSMC add following lines to
/etc/modprobe.d/raspi-blacklist.conf
[code]
#wifi
blacklist brcmfmac
blacklist brcmutil
#bt
blacklist btbcm
blacklist hci_uart
[/code]