You are not logged in.

#1 2014-04-09 08:12:50

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[solved] [netctl] Global configuration file?

Hi there,

Is there a global configuration file for netctl?

Let's say I want to use dhclient instead of dhcpcd for all my profiles. There is a profile-setting DHCPClient='dhclient'.

Can I set this setting globally or do I have to set this for every individual profile?

Thanks!

Last edited by orschiro (2014-04-09 10:08:41)

Offline

#2 2014-04-09 08:56:36

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [solved] [netctl] Global configuration file?

man netctl.profile wrote:

Whenever a profile is read, all executable scripts in /etc/netctl/hooks/ and any executable script in /etc/netctl/interfaces/ with the name of the interface for the profile are sourced. Declarations in an interface script override declarations in a profile, which override declarations in hooks.

Offline

#3 2014-04-09 10:09:03

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] [netctl] Global configuration file?

@Rainman

Very handy. Thanks!

I added a small section to the wiki page:

https://wiki.archlinux.org/index.php/Ne … l_profiles

Offline

Board footer

Powered by FluxBB