summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-02-05 18:07:55 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-02-05 18:07:55 +0100
commit7f1eee3a934efa674daf31ccad206a85cb3ded07 (patch)
treedaf4d038410cf4b56ea6cb6f993c9ce112323252 /contrib
parent763f34bf0cc263ba877b1933944f700fc29f3139 (diff)
downloadnetctl-7f1eee3a934efa674daf31ccad206a85cb3ded07.tar.gz
netctl-7f1eee3a934efa674daf31ccad206a85cb3ded07.tar.xz
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.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash-completion2
-rw-r--r--contrib/zsh-completion2
2 files changed, 2 insertions, 2 deletions
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")}"
}