Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
netctl
Commits
b000b55d
Commit
b000b55d
authored
Jun 11, 2011
by
Rémy Oudompheng
Browse files
Change STATE_DIR from /var/run to /run
parent
23bdfd92
Changes
3
Hide whitespace changes
Inline
Side-by-side
contrib/bash-completion
View file @
b000b55d
...
...
@@ -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 ()
...
...
contrib/zsh-completion
View file @
b000b55d
...
...
@@ -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 \
...
...
src/globals
View file @
b000b55d
...
...
@@ -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/"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment