starting the script at boot time
Hi all!
I would like to start a bash script (mine own program) at boot time, so it starts like other ones from /etc/init.d/. many thanks - Rob |
You could adapt and existing /etc/init.d script, selecting from one of the shorter ones, if you want something that puts up the [OK] messages, etc. (hint: Use the same includes!)...
Or a much easier solution is to append whatever you need to /etc/rc.d/rc.local which is the usual place for this kind of thing. |
|
If you have a script you want to run when someone logs in, you can call it in /etc/profile. If you want it to run only at system start, add it to the end of /etc/rc.local as directed above.
HTH, |
Thank you very much guys! Rob
|
All times are GMT -5. The time now is 07:35 AM. |