adding script to the startup
Jerry McAllister
jerrymc at clunix.cl.msu.edu
Wed Jun 11 07:11:41 PDT 2003
>
> > how can I add my script to the startup programs
> > is it /etc/rc file to edit or some other.
>
> You could for example add it to /etc/rc.local
No. Don't edit /etc/rc.local to run startup scripts.
You should learn about using /usr/local/etc/rc.d
Put a startup script in there with a '.sh' ending on the
name and it will run at boot/startup time.
It is all described in man and other documentation.
////jerry
>
> Create it if it does not exist.
>
> Olivier
> _______________________________________________
More information about the freebsd-questions
mailing list