Page 2 of 2

Re: Installing python to USB

Posted: Sun Sep 13, 2009 11:48 am
by microman171
Hey mightyohm,

I haven't forgotten the instructable, I've just been working out kinks.

Would you mind if I used some of your photos? I don't have any of the construction process.

Any idea how I can get a script to run at startup?

I have symlinks to rc.d, they have been enabled. The command I want to run is

Code: Select all

python /opt/axetwitter.py &
My python file looks like this:

Code: Select all

#! /bin/sh
# Script to run a python script on boot

sleep 2
python /opt/axetwitter.py &
sleep 2

exit 0
I also have a crontab that should occur every re/boot