Why is my startup script not running

view story

http://stackoverflow.com – Per various tutorials I've done the following: created a file called ftpserver.py in /home/root/ created a file in /etc/init.d/ called ftpserver that looks like this" #!/bin/sh python /home/root/ftpserver.py Upon creation, I ran the following (to make it executable, apparently) root@beaglebone1:/etc/init.d# chmod +x ftpserver But it doesn't appear to be running on startup. However if I run the following command: root@beaglebone1:/etc/init.d# /etc/init.d/ftpserver Then the script runs, exectuing ftpserver.py. Interestingly, if I try to run ftpserver from within it's directory in the (HowTos)