Ok, but how reboot works, what causes this running twice? Is this something that I can prevent? From python scripts? with some code that kills scripts if same is started?DougieLawson wrote:The & in the bash script causes things to run as a non-terminating daemon task.
will this be shown in task manager as active processes?DougieLawson wrote:That will get started at boot up and closed at poweroff or reboot.
Code: Select all
if __name__ == "__main___" main()