]> git.sur5r.net Git - bacula/rescue/blobdiff - rescue/linux/cdrom/makeinitrd
Get rescue boot working
[bacula/rescue] / rescue / linux / cdrom / makeinitrd
index e5e87dc1bab4f9f7878fba500f466eecc8b8c2fe..6209a121abee54cdb2716364c4799edb53c69b02 100755 (executable)
@@ -2,7 +2,7 @@
 
 TOPDIR=`pwd`
 
-mkdir -p /mnt/loop1 /mnt/loop2
+mkdir -p /mnt/loop1 /mnt/loop2
 
 # we need to set aside a few loop devices. I chose (in reverse order of their appearance)
 # -- loop1 for the boot image
@@ -74,8 +74,8 @@ echo "Compressing the RAM disk image.... "
 rm -f cdtree/boot/isolinux/initrd.img
 
 # and gzip our RAM disk image and put it in the right place.
-gzip -9 -c root >cdtree/boot/isolinux/initrd.img
-gzip -9 < root >cdtree/boot/isolinux/initrd.img
+gzip -9 -c root >cdtree/boot/isolinux/initrd.img
+gzip -9 < root >cdtree/boot/isolinux/initrd.img
 if [ $? != 0 ] ; then
   echo "Build failed"
   exit 1