summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-08-21 08:50:58 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2008-08-21 08:50:58 -0700
commit5ce4d3b9fbb4b8e7778f29162d6411dd4526830e (patch)
treeefedea8fe5f638546d12d6a7896892f341c80441
parentccb5fed3a8d3b1cbaf00ab7365e18abc3a8ee340 (diff)
downloadvyatta-cfg-5ce4d3b9fbb4b8e7778f29162d6411dd4526830e.tar.gz
vyatta-cfg-5ce4d3b9fbb4b8e7778f29162d6411dd4526830e.zip
fix for bug 3280: ignore password etc. in history
-rw-r--r--etc/default/vyatta-cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/default/vyatta-cfg b/etc/default/vyatta-cfg
index b07440f..8dbf00e 100644
--- a/etc/default/vyatta-cfg
+++ b/etc/default/vyatta-cfg
@@ -10,6 +10,7 @@ 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=/