<div dir="ltr">To be clear, this is how $PATH works on any shell on any Unix like system.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 12:52 PM,  <span dir="ltr"><<a href="mailto:unbound@fongaboo.com" target="_blank">unbound@fongaboo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Thanks... Sent me further down the right path (both literally and figuratively).<br>
<br>
What I did was... I created a subdir /usr/local/etc/unbound/sbin<br>
<br>
Then I added this to the top of the $PATH priority by editing .cshrc.<br>
<br>
Then I made a bunch of symlinks from /usr/local/sbin/unbound-* to /usr/local/etc/unbound/sbin<br>
<br>
This forced it such that when I run unbound-<whatever> from CLI anywhere, it defaults to the stock version and not the FreeBSD local_unbound version.<br>
<br>
For good measure, in case I ever want to run local_unbound for anything, I made a bunch more symlinks from /usr/sbin/unbound-* to /usr/local/etc/unbound/sbin/local_unbound-*<br>
<br>
<br>
Hopefully this might be helpful to some FreeBSD users in the same situation...<span class="im HOEnZb"><br>
<br>
<br>
FONG<br>
<br>
<br>
<br>
On Tue, 21 Jul 2015, Jaap Akkerhuis wrote:<br>
<br>
</span><span class="im HOEnZb"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="mailto:unbound@fongaboo.com" target="_blank">unbound@fongaboo.com</a> writes:<br>
<br>
><br>
><br>
> Thanks,<br>
><br>
> I am now attempting to install from ports. However, am I gathering<br>
> correctly that FreeBSD's local_unbound's config files live in /etc/unbound<br>
> while stock unbound has them in /usr/local/etc/unbound?<br>
><br>
<br>
Yes.<br>
<br>
> When I run unbound-control-setup, it seems to put the files it generates<br>
> in /etc/unbound anyway. What do I have to do to make sure everything<br>
> defaults to the stock setup instead of the local_unbound setup?<br>
<br>
Note your $PATH<br>
<br>
Make sure that you use the /usr/local/sbin/unbound-control-setup<br>
(and others from the ports). The /usr/sbin/$unboundtools have wired<br>
in the /etc as defaut path.<br>
<br>
Alternatively always usr the -f config with the build-in<br>
versions.<br>
<br>
        jaap<br>
<br>
</blockquote>
_______________________________________________<br>
Unbound-users mailing list<br>
</span><div class="HOEnZb"><div class="h5"><a href="mailto:Unbound-users@unbound.net" target="_blank">Unbound-users@unbound.net</a><br>
<a href="http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users" rel="noreferrer" target="_blank">http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span style="border-collapse:separate"><span style="border-collapse:separate"><div style="word-wrap:break-word"><div style="text-align:-webkit-auto"><table style="border-spacing:0px;border-collapse:collapse;color:rgb(116,115,115);font-family:Avenir,'Helvetica Neue',Arial,Helvetica,Geneva,sans-serif;font-size:18px;line-height:25.7142868041992px;text-align:center;float:left"><tbody><tr><td style="padding:0px"><p style="margin:5px 0px 0px;font-size:14px;line-height:17px;padding-right:10px;padding-left:10px;float:left"><span style="color:rgb(101,184,78);float:left">Jeremy Shaffner</span><br><span style="font-size:13px;color:rgb(153,153,153);float:left">Director of Information Technology</span><br><font face="Helvetica Neue"><span style="font-size:12px;float:left"><font color="#65b84e">Convo™</font><span style="color:rgb(221,221,221)"> | </span><a href="http://media.convorelay.com/brand/email_sig/website.html?utm_campaign=sent-mail&utm_medium=email&utm_source=website" style="color:rgb(93,93,93);text-decoration:none;background-color:transparent" target="_blank">convorelay.com</a></span></font><br><font face="Helvetica Neue"><span style="font-size:12px;float:left"><a href="mailto:jeremy@convorelay.com" style="color:rgb(93,93,93);text-decoration:none;float:left;background-color:transparent" target="_blank">jeremy@convorelay.com</a><span style="font-size:12px;float:left"><br></span><span style="font-size:12px;float:left"><br></span><span style="font-size:12px;float:left"><br></span><span style="font-size:12px;float:left"><br></span><br><span style="color:rgb(153,153,153);float:left"><br></span><span style="float:left"><span style="color:rgb(153,153,153)">Voice: </span><font color="#0033bb"><u>925-480-7770</u></font><font color="#999999"> VP: </font><span title="Call with Google Voice" style="color:rgb(153,153,153)"><span title="Call with Google Voice">240-751-4749</span></span></span></span></font></p></td></tr></tbody></table></div></div></span></span><div></div></div></div></div></div></div></div></div>
</div>