Subject: Re: CVS commit: pkgsrc/net/pxe/files
To: Andrew Brown <atatat@atatdot.net>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 11/07/2001 16:40:34
On Wed, 7 Nov 2001, Andrew Brown wrote:

> maybe add this to rc.local?
>
> 	files=`rcorder -s nostart /usr/pkg/etc/rc.d/* /usr/local/etc/rc.d/*`
> 	for _rc_elem in $files; do
> 		run_rc_script $_rc_elem start
> 	done
>
> then this stuff will get run after all your file systems are mounted,
> but you don't need any crazy glue to handle it.

Running "rcorder" again from "rc.local"? What happens if you need to
start several different package scripts at different times,
interleaved with some base scripts? You can't.

It's way simpler to just copy the scripts from ${LOCALBASE}/etc/rc.d/
and ${X11BASE}/etc/rc.d/ to /etc/rc.d/.


Frederick