Hey, I found a solution to get my Python script to run on my My Book World Edition White Lights on startup, albeit not a clean one.
First off, let me say I am the opposite of a Linux expert. In fact, this is my first script in Python and also the first thing I ever do for Linux.
So, I have Python script that I want to be run when my My Book World Edition White Lights boots. I made a tiny shell script that uses nohup to call the Python script. I tried puttying that shell script file inside /etc/init.d/, didn't work. Tried /opt/etc/init.d/, didn't work. I did make sure the permissions were 755.
Then I noticed something. If I (log in via Putty and) try to execute my shell script located in /etc/init.d/, it says "file not found". If I do the same with the shell scripts that are already there (eg.: the no-ip startup script), then it works normally.
So, what did I do? I edited one of the scripts inside the /opt/etc/init.d/ (I chose the S80lighttpd) and added, at the beginning, a line that uses nohup to call my Python script (with & at the end).
It's not a problem for me if the shell scripts get ever called more than once because my Python script itself checks if there's another instance running and exits if true.
This topic has been dead for many years, but maybe someone else will look for help on this, like me.
Hugs from Brazil.