From 359eedef503b1577516a17b012e29c18c1f51e26 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 19 Dec 2007 17:30:36 -0800 Subject: fix for bug 2540: make variables read-write --- etc/default/vyatta-cfg | 5 +++-- 1 file 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 -- cgit v1.2.3