summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/binary_burg/burg.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/binary_burg/burg.cfg b/config/binary_burg/burg.cfg
index 5ff87eb..3796872 100644
--- a/config/binary_burg/burg.cfg
+++ b/config/binary_burg/burg.cfg
@@ -43,12 +43,14 @@ menuentry 'Start Kanotix' --class kanotix --group main {
initrd /live/initrd.img
}
-menuentry 'Start Kanotix (gfxoverlay)' --class kanotix --group main {
+if test -d /gfxoverlay ; then
+ menuentry 'Start Kanotix (gfxoverlay)' --class kanotix --group main {
echo 'Loading Linux ...'
linux /live/vmlinuz boot=live config ${lang_opt} gfx=auto quiet splash
echo 'Loading initial ramdisk ...'
initrd /live/initrd.img
-}
+ }
+fi
menuentry 'Start Kanotix (failsafe)' --class kanotix --group main {
echo 'Loading Linux ...'