Rob
2006-Mar-08 12:43 UTC
/usr/local/etc/rc.d scripts not starting after update to -stable, also /etc/rc.d syntax error
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. First, the scripts in /usr/local/etc/rc.d are not starting. I do have the following line in rc.conf: local_startup="/usr/local/etc/rc.d" The syntax error reported on bootup is: /etc/rc.d/Makefile: 44: Syntax error: "(" unexpected. Perhaps that error is what is causing the local startup scripts not to execute. Thanks for any help you can give me. Rob Lytle -- ----------------------- http://www.roblytle.org Rob Lytle Home Page
Scot Hetzel
2006-Mar-08 13:22 UTC
/usr/local/etc/rc.d scripts not starting after update to -stable, also /etc/rc.d syntax error
On 3/8/06, Rob <rob@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.