Pete French wrote: >> What is the correct way for 6-STABLE to achieve what I want to do? >> (i.e. write the rc.conf from a rc script) > > I thought rc.conf was simply a script that set some variables. If > this is the case then you don't need to overwrite it - you simply need to > make your script set the appropriate variables and then drop it in as > a repplacement for rc.conf - hence no need to rewrite rc.conf at all. > > -pcf.
If your scripts name ends with .sh it will be sourced into the process and all variables set there will prevail (this feature only works in /etc/rc.d). If you do this you must not use the exit command anywhere in your script. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"