View Single Post
Posts: 387 | Thanked: 707 times | Joined on May 2015 @ Italy
#594
Originally Posted by minimec View Post
If you don't start the 'bt-sleep-monitor.sh' script in some startup script or systemd service, you have to start it manually. (I pretend that the script is in the /home/nemo folder)

Code:
chmod +x bt-sleep-monitor.sh   # Needed only once
devel-su
./bt-sleep-monitor.sh &
exit
Thank you minimec.
It works! I had tried to execute the script file with the command:
sh filename.sh
but it wasn't the correct way.

How to run the script at startup now? I'm trying to understand how systemd works but I'm not sure yet.
 

The Following User Says Thank You to claustn For This Useful Post: