Merge branch 'master' of ssh://arne_f@git.ipfire.org/pub/git/ipfire-2.x
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 16 Jan 2011 12:41:34 +0000 (13:41 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 16 Jan 2011 12:41:34 +0000 (13:41 +0100)
src/paks/linux-xen/install.sh

index f0be273..80234d0 100644 (file)
@@ -62,7 +62,7 @@ uname -r | grep "ipfire-xen";
 if [ ${?} = 0 ]; then
        #Xen Kernel is active
        #Set grub default entry to this kernel
-       sed -i -e "s|^default saved|default $ENTRY|g" /boot/grub/grub.conf
+       sed -i -e "s|^default .*|default $ENTRY|g" /boot/grub/grub.conf
        #Remove ramdisk of normal kernel (not enough space)
        rm -f /boot/ipfirerd-$KVER.img
 else