From b000b55ddc7fad62cd5a0cc2877648e54ee40268 Mon Sep 17 00:00:00 2001 From: Rémy Oudompheng Date: Sat, 11 Jun 2011 21:33:07 +0200 Subject: Change STATE_DIR from /var/run to /run --- contrib/bash-completion | 4 ++-- contrib/zsh-completion | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib') 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 \ -- cgit v1.2.3-24-g4f1b