From 95d308680b9b69996543041c464f2a528578cc4e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 4 Mar 2007 16:02:41 +0000 Subject: 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 --- scripts/config/zconf.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/config/zconf.y') 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 -- cgit v1.2.3