How do I run a program when the computer is booted; the program needs to run before the network is started
Hi
Have a look down in /etc/init.d/ and the file “skeleton” then use this
file to start you program (unless it already has it’s own init file?).
In the section called ### BEGIN INIT INFO, look for Required-Start,
here change the $network to network and it will put the correct
symlinks to ensure it runs before the network is loaded.
Else you can just symlink to it in /etc/rc.d/rc3.d/ with a S02 prefix.
This way can get broken though if your prerequisites change, much better
to use the skeleton.
–
Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10 SP2 i586 Kernel 2.6.16.60-0.27-default
up 5:03, 2 users, load average: 0.04, 0.08, 0.10
GPU GeForce Go 6600 TE/6200 TE Version: 173.14.09
posted in error
Thank you for the information malcolm!
Put you stuff that needs to start in the file /etc/init.d/boot.local