mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
add 'reset to defaults' to menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4080 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -737,6 +737,8 @@ static void conf(struct menu *menu)
|
||||
if (menu == &rootmenu) {
|
||||
cprint(":");
|
||||
cprint("--- ");
|
||||
cprint("D");
|
||||
cprint(_(" Reset to defaults"));
|
||||
cprint("L");
|
||||
cprint(_(" Load an Alternate Configuration File"));
|
||||
cprint("S");
|
||||
@@ -783,6 +785,9 @@ static void conf(struct menu *menu)
|
||||
case 's':
|
||||
conf_string(submenu);
|
||||
break;
|
||||
case 'D':
|
||||
conf_reset();
|
||||
break;
|
||||
case 'L':
|
||||
conf_load();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user