🚧 remove security tweeks menu

This commit is contained in:
Vladislav Nepogodin 2022-02-20 19:24:33 +04:00
parent 10a4d98eb4
commit a8504c2741
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
2 changed files with 3 additions and 14 deletions

View File

@ -102,15 +102,9 @@ Main Menu
│ ├── Install Custom Packages
│ ├── System Tweaks
| │ ├── Enable Automatic Login
| │ ├── Performance (TODO)
| | │ ├── I/O schedulers
| | │ ├── Swap configuration
| | │ └── zram
| | │
| │ └── Security and systemd Tweaks (TODO)
| | ├── Amend journald Logging
| | ├── Disable Coredump Logging
| | └── Restrict Access to Kernel Logs
| │ └── Performance
| | ├── I/O schedulers
| | └── Swap configuration
| │
│ ├── Review Configuration Files
│ └── Chroot into Installation

View File

@ -1181,13 +1181,11 @@ void performance_menu() {
static constexpr auto tweaks_body = "Various configuration options";
detail::menu_widget(menu_entries, ok_callback, &selected, &screen, tweaks_body, {.text_size = size(HEIGHT, GREATER_THAN, 1)});
}
void security_menu() { }
void tweaks_menu() noexcept {
const std::vector<std::string> menu_entries = {
"Enable Automatic Login",
"Performance",
"Security and systemd Tweaks",
"Back",
};
@ -1201,9 +1199,6 @@ void tweaks_menu() noexcept {
case 1:
tui::performance_menu();
break;
case 2:
tui::security_menu();
break;
default:
screen.ExitLoopClosure()();
break;