Commit b000b55d authored by Rémy Oudompheng's avatar Rémy Oudompheng
Browse files

Change STATE_DIR from /var/run to /run

parent 23bdfd92
......@@ -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 ()
......
......@@ -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 \
......
......@@ -14,7 +14,7 @@ IFACE_DIR="$PROFILE_DIR/interfaces/"
SUBR_DIR="/usr/lib/network/"
HOOKS_DIR="${SUBR_DIR}/hooks/"
CONN_DIR="${SUBR_DIR}/connections/"
STATE_DIR="/var/run/network/"
STATE_DIR="/run/network/"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment