/usr/local/etc/rc.d scripts not starting after update to -stable, also /etc/rc.d syntax error

Scot Hetzel swhetzel at gmail.com
Wed Mar 8 21:22:26 UTC 2006


On 3/8/06, Rob <rob at roblytle.org> wrote:
> Hi,
>
> Yesterday I updated to -stable.  I think that I did a decent job merging the /etc files and configuring
> rc.conf but I am getting some errors.
>

> /etc/rc.d/Makefile: 44: Syntax error: "(" unexpected.
>
> Perhaps that error is what is causing the local startup scripts not to execute.
>
It looks like you did:

cp /usr/src/etc/rc.d/* /etc/rc.d/

This copied some extra files into your /etc/rc.d/ directory that are
not needed.  Just remove /etc/rc.d/Makefile, and that should fix the
Syntax error.  Then run mergemaster.  When mergemaster gets to
checking the files in the /etc/rc.d/ directory, it may show that
somefiles in that directory are not needed.  Either let mergemaster
delete all of these unneeded files, or make a note of them and
manually remove the ones you don't need.

NOTE: if you have custom scripts in /etc/rc.d, you may want to manully
remove the unneeded files.

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-stable mailing list