Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: postinstall wiped out my /etc/rc changes
On Sat, May 3, 2008 at 7:08 PM, Jared D. McNeill
<jmcneill%invisible.ca@localhost> wrote:
> Daniel Horecki wrote:
> > And what with rc.d/ files? E.g. I have xdm from pkgsrc, and every time
> > I had to use postinstall,
> > I have to to bring back that files.
>
> I suppose you could install rc.d scripts to /usr/pkg/etc/rc.d and set
> rc_rcorder_flags in rc.conf, but I'm not sure how rcorder will handle a
> duplicate script (which will take precedence).
>
It will execute first script, which is provided later, e.g.:
sh@tatooine:/etc/ > rcorder /etc/rc.d/*
/usr/pkg/share/examples/rc.d/xdm |grep xdm
/usr/pkg/share/examples/rc.d/xdm
/etc/rc.d/xdm
sh@tatooine:/etc/ > rcorder /usr/pkg/share/examples/rc.d/xdm
/etc/rc.d/*|grep xdm
/etc/rc.d/xdm
/usr/pkg/share/examples/rc.d/xdm
sh@tatooine:/etc/ >
Unfortunately, rc_rcorder_flags comes first, so xdm will be used from /etc/rc.d.
Daniel
--
Daniel Horecki
http://morr.pl
Home |
Main Index |
Thread Index |
Old Index