Nice, I did not know that. We should definitely document this. On Mon, Feb 2, 2015 at 2:13 PM, Jouke Witteveen <[email protected]> wrote:
> On Mon, Feb 2, 2015 at 2:00 PM, Jiri Tyr <[email protected]> wrote: > >> On Mon, Feb 2, 2015 at 12:18 PM, Jouke Witteveen <[email protected]> >> wrote: >> >>> What is the benefit of this over setting an environment in, say, >>> /etc/netctl/hooks/environment? >>> >> >> 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. >> >> 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. >> > > You can just add "NETCTL_DEBUG=yes" to /etc/netctl/hooks/environment and > you get debugging for all profiles. > >
