Local startup python programm prevents reboot

I added python3 /root/webthing-pwm/pwm-thing.py & exit 0 to local startup in luci and since then I can not reboot until I terminate that process. Do I start wrong?

Your program is supposed to end immediately (or become a daemon, if needed), not remain executing.

1 Like

Did you put those two commands on one line or two lines?

Does this work for you?

python3 /root/webthing-pwm/pwm-thing.py &

exit 0
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.