wok diff linld/stuff/src/LINLD.CPP @ rev 24014

linld: add quick boot switch (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 19 18:33:17 2021 +0000 (2021-02-19)
parents bc4b94310a29
children 14ca5e18cfd9
line diff
     1.1 --- a/linld/stuff/src/LINLD.CPP	Thu Feb 18 08:56:43 2021 +0000
     1.2 +++ b/linld/stuff/src/LINLD.CPP	Fri Feb 19 18:33:17 2021 +0000
     1.3 @@ -56,9 +56,9 @@
     1.4  	}
     1.5  	if (argstr(*argv,"cl|image|initrd|iso",clp) == (int) clp) continue;
     1.6  #ifdef QUICK_BOOT
     1.7 -	if (argnum(*argv,"root|vga|mem|-b|-f*|-q*|-v*",&root_dev) >= (int) &base_himem) continue;
     1.8 +	if (argnum(*argv,"root|vga|mem|-b|-f~-q~-v~",&root_dev) >= (int) &base_himem) continue;
     1.9  #else
    1.10 -	if (argnum(*argv,"root|vga|mem|-b|-f*",&root_dev) >= (int) &base_himem) continue;
    1.11 +	if (argnum(*argv,"root|vga|mem|-b|-f~",&root_dev) >= (int) &base_himem) continue;
    1.12  #endif
    1.13  	if (fileexist(*argv) != -1) {
    1.14              kernel_name=*argv;