summaryrefslogtreecommitdiff
path: root/etc/default/vyatta-cfg
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-07-28 14:30:32 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-07-28 14:30:32 -0700
commit639c835bc2730a4fbffd915f5b2028a68375ee7a (patch)
tree203d61e1d5e8ef422d6aba3851d2f83a1f838b6b /etc/default/vyatta-cfg
parent0247864ef578ac05bbac8dc5175e674ce7b82714 (diff)
downloadvyatta-cfg-639c835bc2730a4fbffd915f5b2028a68375ee7a.tar.gz
vyatta-cfg-639c835bc2730a4fbffd915f5b2028a68375ee7a.zip
add new cstore library
Diffstat (limited to 'etc/default/vyatta-cfg')
-rw-r--r--etc/default/vyatta-cfg11
1 files changed, 3 insertions, 8 deletions
diff --git a/etc/default/vyatta-cfg b/etc/default/vyatta-cfg
index 8dbf00e..0a5c593 100644
--- a/etc/default/vyatta-cfg
+++ b/etc/default/vyatta-cfg
@@ -1,21 +1,16 @@
# Vyatta shell environment variables for config mode
# should be sourced from /etc/default/vyatta
+# note that session environment is now handled separately.
+# (see /etc/bash_completion.d/20vyatta-cfg)
+
{
-declare -x -r VYATTA_ACTIVE_CONFIGURATION_DIR=${vyatta_configdir}/active
-declare -x -r VYATTA_CHANGES_ONLY_DIR=/tmp/changes_only_$$
-declare -x -r VYATTA_TEMP_CONFIG_DIR=${vyatta_configdir}/tmp/new_config_$$
-declare -x -r VYATTA_CONFIG_TMP=${vyatta_configdir}/tmp/tmp_$$
-declare -x -r VYATTA_CONFIG_TEMPLATE=$vyatta_cfg_templates
declare -x -r VYATTA_TAG_NAME=node.tag
declare -x -r VYATTA_MOD_NAME=.modified
declare -x -r VYATTA_CFG_GROUP_NAME=vyattacfg
declare -x -r HISTIGNORE="*password*:*-secret*"
} 2>/dev/null || :
-declare -x VYATTA_EDIT_LEVEL=/
-declare -x VYATTA_TEMPLATE_LEVEL=/
-
# don't set level if already set
if [ -n "$VYATTA_USER_LEVEL_DIR" ]; then
return