mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-30 14:35:21 -04:00
[iso] remove Ubuntu's splash screen for persistent drives
* This is accomplished by removing the 'maybe-ubiquity' option * UEFI only
This commit is contained in:
parent
e554d2b4e0
commit
68d42d4153
3 changed files with 10 additions and 6 deletions
|
@ -319,6 +319,10 @@ static void fix_config(const char* psz_fullpath, const char* psz_path, const cha
|
|||
// somewhere in their kernel options and use 'persistent' as keyword.
|
||||
uprintf(" Added 'persistent' kernel option");
|
||||
modified = TRUE;
|
||||
// Also remove Ubuntu's "maybe-ubiquity" to avoid splash screen (GRUB only)
|
||||
if ((props->is_grub_cfg) && replace_in_token_data(src, "linux",
|
||||
"maybe-ubiquity", "", TRUE))
|
||||
uprintf(" Removed 'maybe-ubiquity' kernel option");
|
||||
} else if (replace_in_token_data(src, props->is_grub_cfg ? "linux" : "append",
|
||||
"boot=live", "boot=live persistence", TRUE) != NULL) {
|
||||
// Debian & derivatives are assumed to use 'boot=live' in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue