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 | d14f611eb1f7dc25905f639366e2604444aa1804 (patch) | |
tree | cbc248164e3d16d1f736a51a8166e70f127086fe /scripts/config/zconf.y | |
parent | 07cb246bd750bf7798b2debf609d304e8d48fba5 (diff) | |
download | mtk-20170518-d14f611eb1f7dc25905f639366e2604444aa1804.zip mtk-20170518-d14f611eb1f7dc25905f639366e2604444aa1804.tar.gz mtk-20170518-d14f611eb1f7dc25905f639366e2604444aa1804.tar.bz2 |
disable the automatic config reset if 'Advanced configuration options' is selected
SVN-Revision: 6506
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 ce13f02..4b8ba45 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 |