You are not logged in.
Pages: 1
My question is if I can launch a program form there? I use "no-ip" because my ip changes every time I boot. I would like to not have to run the program every time I boot nor to put it in my .bashrc script. Or should I put it in /etc/profile?
/Richard
If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.
Offline
Sounds like you should make a startup script for /etc/rc.d and then just add it to the daemons array.
Offline
or just put it in /etc/rc.local.
putting it in rc.conf is a really really bad idea, because it's loaded many many many times on boot. once for each daemon, it's also loaded in rc.sysinit. on the average system, that's at least 10 times.
then it's loaded for each daemon on shutdown, so that's another 8 or so.
James
Offline
My rc.local is empty. Should I just add a: exec no-ip to that file then?
If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.
Offline
Yes, you could do that
Or add /path/to/no-ip
All you got to do, is tell the story right...
Offline
there's no need for exec, just do as michiel said.
rc.local is a regular script, run at the end of the bootup sequence.
James
Offline
Pages: 1