I'll assume you're using Python2, and need "sudo" to run it from the command line, so we'll add it to roots crontab.
Code: Select all
sudo crontab -eCode: Select all
@reboot /usr/bin/python /path/to/your/script.pyCode: Select all
sudo crontab -eCode: Select all
@reboot /usr/bin/python /path/to/your/script.pyCode: Select all
//192.168.8.101/Open Open cifs user=pi,password=raspi 0 0 Code: Select all
sudo iw dev wlan0 set power_save off