X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FCENTOS%2F40-install-grub;h=8a74b9356f67011fac722c2f0cbc4100752544f3;hb=f856a11aa6b4aaa454a5c93c4f1d9672591ca2eb;hp=6af18f2d13656b92be2ce6743c0f1e70596c34e0;hpb=3bd65f0ca635f1349626c2393a4dd8a50df64f54;p=automated-distro-installer diff --git a/fai/config/scripts/CENTOS/40-install-grub b/fai/config/scripts/CENTOS/40-install-grub index 6af18f2..8a74b93 100755 --- a/fai/config/scripts/CENTOS/40-install-grub +++ b/fai/config/scripts/CENTOS/40-install-grub @@ -24,9 +24,9 @@ if [ -d $target/boot/grub2 -a ! -f $target/boot/grub2/device.map ]; then 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='' @@ -69,7 +69,7 @@ else # 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