Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make sure we don't override live-media-path if /lib/live/mount/medium…

…/boot exists

Otherwise live_media_path points to the wrong configuration
in current Grml ISOs.
  • Loading branch information...
commit 3bcb86f2636df4192e87e6b58609ad6da0afdf56 1 parent ddc7a28
@mika mika authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  templates/grub-pxelinux_config
View
2  templates/grub-pxelinux_config
@@ -20,7 +20,7 @@
if grep -q live-media-path= /proc/cmdline 2>/dev/null ; then
live_media_path_="live-media-path=$(awk -F live-media-path= '{print $2}' /proc/cmdline | awk '{print $1}')"
fi
-if [ ! -d /live/image/boot ] ; then
+if [ ! -d /live/image/boot ] && [ ! -d /lib/live/mount/medium/boot ] ; then
live_media_path_="live-media-path=/"
fi
Please sign in to comment.
Something went wrong with that request. Please try again.