summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-08-28 15:45:28 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-08-31 09:55:57 -0500
commitcf6fb0dc307a69c6840a58fc52b41cd81a9da12c (patch)
tree02358bd0731b72f54bf0d629d56d60aeaf1ad9f7 /etc/bash_completion.d
parent684842fe6a085491396406161094f26992ffad86 (diff)
downloadvyatta-cfg-cf6fb0dc307a69c6840a58fc52b41cd81a9da12c.tar.gz
vyatta-cfg-cf6fb0dc307a69c6840a58fc52b41cd81a9da12c.zip
configd: T2582: set vyshim env variable for config session
Diffstat (limited to 'etc/bash_completion.d')
-rwxr-xr-xetc/bash_completion.d/vyatta-cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 1cd0b62..7547099 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -39,6 +39,10 @@ if [ "$_OFR_CONFIGURE" != "ok" ]; then
return 0
fi
+if [ -r /etc/default/vyos-configd-env ]; then
+ source /etc/default/vyos-configd-env
+fi
+
if [ -r /etc/default/vyatta ]; then
source /etc/default/vyatta
fi