Hi,
You have an error in the script: the script does not start with !# but with #! (first line)
Try to fix it, maybe then it'll work. Also you do not start the script with sudo since you already have sudo in the script. So when you run the script, run it with your user. I think you also have an error in the restart command: the network manager should be referred to as service, so it should be:
You have an error in the script: the script does not start with !# but with #! (first line)
Try to fix it, maybe then it'll work. Also you do not start the script with sudo since you already have sudo in the script. So when you run the script, run it with your user. I think you also have an error in the restart command: the network manager should be referred to as service, so it should be:
Code:
systemctl restart network-manager.service