{
    # grub splash image for koozali, alternative to theme
    # ignored if a theme is defined
    #GRUB_BACKGROUND="/boot/grub2/smeserver10.png"
    my $GrubBackground= $Sysconfig{'GrubBackground'} || '/boot/grub2/smeserver10.png';
    # remove if disabled, : you do not want any background
    if ($GrubBackground eq 'disabled') {
        @lines = map {
                s/^GRUB_BACKGROUND.*//;
                $_
        } @lines;
    }
    else {

        # change if line already there
        @lines = map {
                /^GRUB_BACKGROUND/ && ! /="$GrubBackground"/ && s/=".*"/="$GrubBackground"/;
                $_
        } @lines;

        # add if line missing
        push @lines, 'GRUB_BACKGROUND="$GrubBackground"'  unless ( grep  /GRUB_BACKGROUND/, @lines );
    }
    $OUT = "";

}
