fix kernel command line

This commit is contained in:
Nick Chan committed 2023-02-05 16:04:16 +08:00
1 parent 1524ed9440
commit 020fdd4939
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@
unsigned int verbose = 0;
int enable_rootful = 0, demote = 0;
bool ohio = true;
char xargs_cmd[0x270] = "xargs", checkrain_flags_cmd[0x20] = "deadbeef", palerain_flags_cmd[0x20] = "deadbeef";
char xargs_cmd[0x270] = "xargs ", checkrain_flags_cmd[0x20] = "deadbeef", palerain_flags_cmd[0x20] = "deadbeef";
char kpf_flags_cmd[0x20] = "deadbeef", dtpatch_cmd[0x20] = "deadbeef", rootfs_cmd[512] = "deadbeef";
extern char** environ;
typedef unsigned char niarelap_file_t[];
+1 -1
View File
@@ -54,7 +54,7 @@ tui_screen_t tui_screen_options() {
newtComponentAddCallback(safeModeBox, bitfield_check_cb, &safemode_info);
newtComponent bootCmdlineLabel = newtLabel(1, 8, "Kernel command line:");
newtComponent bootCmdlineEntry = newtEntry(1, 9, NULL, WIDTH - 2, &bootargs_entered, NEWT_ENTRY_SCROLL);
newtComponent bootCmdlineEntry = newtEntry(1, 9, &xargs_cmd[6], WIDTH - 2, &bootargs_entered, NEWT_ENTRY_SCROLL);
newtComponent flowerChainBox = newtCheckbox(1, 10, "Flower chain", CHECKBOX_STATE(flower_flags, flower_option_flower_chain), NULL, NULL);
newtComponentAddCallback(flowerChainBox, bitfield_check_cb, &flower_chain_info);