<div dir="ltr"><div>On Mon, Feb 2, 2015 at 2:00 PM, Jiri Tyr <span dir="ltr"><<a href="mailto:jiri.tyr@gmail.com" target="_blank">jiri.tyr@gmail.com</a>></span> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 2, 2015 at 12:18 PM, Jouke Witteveen <span dir="ltr"><<a href="mailto:j.witteveen@gmail.com" target="_blank">j.witteveen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">What is the benefit of this over setting an environment in, say,<br>
/etc/netctl/hooks/environment?<br>
</blockquote></div><br></div></span><div class="gmail_extra">Well, the motivation for this was that I could not find a way how to enable the debugging. Apart of that, using hooks enables debugging only for certain profiles. The conf.d solution enables it globally regardless the profile name.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Just thinking about it, I should have documented how to enable debugging by using the file in the conf.d directory. If this patch has chance being accepted, I will add the documentation.</div></div>
</blockquote></div><br></div><div class="gmail_extra">You can just add "NETCTL_DEBUG=yes" to /etc/netctl/hooks/environment and you get debugging for all profiles.<br></div><div><br></div></div>