I need to a program to launch on boot on my dreambox.
Its Linux based, so how do I go about doing it?
Quote from: example-shell-script.sh#!/bin/sh
/path/to/executable/name-of-executable
done
/etc/rc.d/rc.local is the equivalent of autoexec.bat for most Linux distros, its usually used for calling other scripts at boot time. :)
Also remember to give any scripts you write executable permissions.
shell script...i hate that in first year
how do I name a script? is there a format?
like .bat for batch file.
.sh?
strictly speaking you can call it what you like, its the execute permission setting which tells the system its an executable file under *nix.
mostly they end in .sh though.
to get the script to run at startup:
http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/
Thats for ubuntu, but it should be something similar for your setup.