summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-06-11 21:33:07 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-06-11 21:33:07 +0200
commitb000b55ddc7fad62cd5a0cc2877648e54ee40268 (patch)
treedc5c2dc676204b72b4e39e82c7c9a0cf6208e183 /contrib
parent23bdfd926aedecc606bf451eaf3a562b285add9c (diff)
downloadnetctl-b000b55ddc7fad62cd5a0cc2877648e54ee40268.tar.gz
netctl-b000b55ddc7fad62cd5a0cc2877648e54ee40268.tar.xz
Change STATE_DIR from /var/run to /run
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash-completion4
-rw-r--r--contrib/zsh-completion4
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/bash-completion b/contrib/bash-completion
index 44dd181..02c8147 100644
--- a/contrib/bash-completion
+++ b/contrib/bash-completion
@@ -2,12 +2,12 @@
_connected_prfls ()
{
- COMPREPLY=( $( compgen -W "$( ls /var/run/network/profiles/ )" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$( ls /run/network/profiles/ )" -- $cur ) )
}
_connected_intfs ()
{
- COMPREPLY=( $( compgen -W "$( ls /var/run/network/interfaces/)" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$( ls /run/network/interfaces/)" -- $cur ) )
}
_netcfg ()
diff --git a/contrib/zsh-completion b/contrib/zsh-completion
index 078ccc8..9f3e7dd 100644
--- a/contrib/zsh-completion
+++ b/contrib/zsh-completion
@@ -22,11 +22,11 @@ all_profiles() {
}
up_profiles() {
- _files -W "/var/run/network/profiles"
+ _files -W "/run/network/profiles"
}
up_ifaces() {
- _files -W "/var/run/network/interfaces"
+ _files -W "/run/network/interfaces"
}
_arguments -C \