You don't need:
#!/bin/sh
It's not a script. The system sees that as a comment and it is ignored. All you need to do is run:
echo "options iwlagn bt_coex_active=0" | sudo tee /etc/modprobe.d/iwl.conf
And you are done.
You don't need:
#!/bin/sh
It's not a script. The system sees that as a comment and it is ignored. All you need to do is run:
echo "options iwlagn bt_coex_active=0" | sudo tee /etc/modprobe. d/iwl.conf
And you are done.