summaryrefslogtreecommitdiff
path: root/etc/default
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-19 17:30:36 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-19 17:30:36 -0800
commit359eedef503b1577516a17b012e29c18c1f51e26 (patch)
tree16349519a76045c7e8d13f51455668d339fa4610 /etc/default
parent525e49e32e8de0bc6c9f9203854055ea2559d432 (diff)
downloadvyatta-cfg-359eedef503b1577516a17b012e29c18c1f51e26.tar.gz
vyatta-cfg-359eedef503b1577516a17b012e29c18c1f51e26.zip
fix for bug 2540: make variables read-write
Diffstat (limited to 'etc/default')
-rw-r--r--etc/default/vyatta-cfg5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/default/vyatta-cfg b/etc/default/vyatta-cfg
index e560788..dfb4006 100644
--- a/etc/default/vyatta-cfg
+++ b/etc/default/vyatta-cfg
@@ -7,13 +7,14 @@ declare -x -r VYATTA_CHANGES_ONLY_DIR=${vyatta_configdir}/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_EDIT_LEVEL=/
-declare -x -r VYATTA_TEMPLATE_LEVEL=/
declare -x -r VYATTA_TAG_NAME=node.tag
declare -x -r VYATTA_MOD_NAME=.modified
declare -x -r VYATTA_CFG_GROUP_NAME=vyattacfg
} 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