diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-04 16:02:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-04 16:02:41 +0000 |
commit | 95d308680b9b69996543041c464f2a528578cc4e (patch) | |
tree | fd3bd6c9a5dff4a07a9e09bada2fe7c2531e027f /scripts/config/zconf.y | |
parent | f19a262b235972db5ab173d3a00f616caafe30ae (diff) | |
download | upstream-95d308680b9b69996543041c464f2a528578cc4e.tar.gz upstream-95d308680b9b69996543041c464f2a528578cc4e.tar.bz2 upstream-95d308680b9b69996543041c464f2a528578cc4e.zip |
disable the automatic config reset if 'Advanced configuration options' is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6506 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/config/zconf.y')
-rw-r--r-- | scripts/config/zconf.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/config/zconf.y b/scripts/config/zconf.y index ce13f02695..4b8ba45061 100644 --- a/scripts/config/zconf.y +++ b/scripts/config/zconf.y @@ -275,9 +275,9 @@ choice_option: T_OPTIONAL T_EOL printd(DEBUG_PARSE, "%s:%d:optional\n", zconf_curname(), zconf_lineno()); }; -choice_option: T_RESET T_EOL +choice_option: T_RESET if_expr T_EOL { - current_entry->sym->flags |= SYMBOL_RESET; + menu_add_prop(P_RESET, NULL, NULL, $2); }; choice_option: T_DEFAULT T_WORD if_expr T_EOL |