"Fossies" - the Fresh Open Source Software Archive

Member "rear-2.5/usr/share/rear/init/default/010_EFISTUB_check.sh" (10 May 2019, 368 Bytes) of package /linux/privat/rear-2.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Because user might mis-configure EFI_STUB by values like '" ", "", "foobar" ...'
    2 # We will check such mis-configuration and bailout with error.
    3 
    4 # If both is_false $EFI_STUB and is_true $EFI_STUB return false, there is
    5 # something wrong with configuration ...
    6 is_false $EFI_STUB || is_true $EFI_STUB || Error "EFI_STUB=\"$EFI_STUB\" is incorrect option value pair."