]> git.ipfire.org Git - people/stevee/network.git/commitdiff
bash-autocompletion: up and down for ipsec connections
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Fri, 4 Aug 2017 12:07:12 +0000 (14:07 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Aug 2017 12:52:17 +0000 (14:52 +0200)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/bash-completion/network

index 668c69959b93f1c1b6596c145babeeee4e85038e..5ddc8db837b64bfe23068d9629c5b3e2c00e0875 100644 (file)
@@ -413,7 +413,7 @@ _network_vpn_ipsec_connection_subcommands() {
        shift
        local words=( $@ )
 
-       local commands="authentication inactivity-timeout local mode peer remote security-policy show"
+       local commands="authentication down inactivity-timeout local mode peer remote security-policy show up"
        local cmd="$(_network_find_on_cmdline "${commands}")"
        if [[ -z "${cmd}" ]]; then
                COMPREPLY=( $(compgen -W "${commands}" -- "${cur}") )