#36 vpnc: remove unneeded wrapping function
This commit is contained in:
parent
a415d4194c
commit
58bd504348
11
_vpnc
11
_vpnc
|
@ -42,11 +42,6 @@
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
_vpnc-connect() {
|
# FIXME /etc/vpnc/ is only accessible to root, how do we deal with this ?
|
||||||
local confs
|
local confs; confs=(/etc/vpnc/*.conf(:t:s/\.conf/))
|
||||||
confs=(/etc/vpnc/*.conf(:t:s/\.conf/)) # FIXME /etc/vpnc/ is only accessible to root, how do we deal with this ?
|
_describe -t confs 'VPNC conf' confs
|
||||||
_describe -t "confs" "conf" confs && return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
_vpnc-connect "$@"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue