summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-03-25 14:23:58 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2011-03-25 14:23:58 +0100
commit45ba8dec99c3e01ec4a401e320cb51aed073a095 (patch)
tree3493e60bd5a35d7866ca382e697b22f0d2a461f9 /config
parent92c3d5a29fc7a542feb255dd686f96f49cedf5a4 (diff)
downloadkanotix-45ba8dec99c3e01ec4a401e320cb51aed073a095.zip
kanotix-45ba8dec99c3e01ec4a401e320cb51aed073a095.tar.gz
only show gfxoverlay menuentry if gfxoverlay is present
Diffstat (limited to 'config')
-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 ...'