done
fi
-bootdev=`device2grub $BOOT_DEVICE`
-bootpart=`device2grub $BOOT_PARTITION`
-version=`$ROOTCMD rpm -qv kernel | cut -d- -f2-`
+bootdev=$(device2grub $BOOT_DEVICE)
+bootpart=$(device2grub $BOOT_PARTITION)
+version=$($ROOTCMD rpm -qv kernel | cut -d- -f2-)
if grep '[[:space:]]/boot[[:space:]]' $LOGDIR/fstab; then
bootdir=''
# CentOS 5
iname=initrd
fi
-title=`head -1 $target/etc/redhat-release`
+title=$(head -1 $target/etc/redhat-release)
cat > $target/boot/grub/grub.conf <<-EOF
timeout 5