From 7f1eee3a934efa674daf31ccad206a85cb3ded07 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Tue, 5 Feb 2013 18:07:55 +0100 Subject: Move the location for profiles Old location: /etc/network.d New location: /etc/netctl This should ease migration from netcfg and is a better path anyway. --- contrib/bash-completion | 2 +- contrib/zsh-completion | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/bash-completion b/contrib/bash-completion index 4ffcabd..5a2dd12 100644 --- a/contrib/bash-completion +++ b/contrib/bash-completion @@ -13,7 +13,7 @@ _wireless_interfaces() _netctl_profiles() { - find -L /etc/network.d -maxdepth 1 -type f -not -name '.*' -not -name '*~' -not -name '*.conf' -not -name '*.service' -printf "%f\n" + find -L /etc/netctl -maxdepth 1 -type f -not -name '.*' -not -name '*~' -not -name '*.conf' -not -name '*.service' -printf "%f\n" } diff --git a/contrib/zsh-completion b/contrib/zsh-completion index 77bf1f9..7695082 100644 --- a/contrib/zsh-completion +++ b/contrib/zsh-completion @@ -12,7 +12,7 @@ _wireless_interfaces() { (( $+function[_netctl_command] )) || _netctl_command() { [[ $words[1] = (start|stop|restart|switch-to|status|enable|disable|reenable) ]] && - compadd "${(f)$(find -L /etc/network.d -maxdepth 1 -type f -not -name '.*' -not -name '*~' -not -name '*.conf' -not -name '*.service' -printf "%f\n")}" + compadd "${(f)$(find -L /etc/netctl -maxdepth 1 -type f -not -name '.*' -not -name '*~' -not -name '*.conf' -not -name '*.service' -printf "%f\n")}" } -- cgit v1.2.3-24-g4f1b