X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/021e6aa5f3691fe6fdf04a406a642575f46f284a..6ab92cab84ccfa359f400cd6e4fa82f12c8e4bfe:/scripts/config/mconf.c diff --git a/scripts/config/mconf.c b/scripts/config/mconf.c index 2ef24aa5b..5caf82280 100644 --- a/scripts/config/mconf.c +++ b/scripts/config/mconf.c @@ -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;