]> git.sur5r.net Git - bacula/rescue/blobdiff - rescue/linux/usb/load_disk_image
Update
[bacula/rescue] / rescue / linux / usb / load_disk_image
diff --git a/rescue/linux/usb/load_disk_image b/rescue/linux/usb/load_disk_image
deleted file mode 100755 (executable)
index e25019d..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-#
-# tar the disk image
-#
-. ./config
-
-if [ ! `whoami` = "root" ] ; then
-  echo ""
-  echo "You need to be root to run this shell script"
-  echo ""
-  exit 1
-fi
-
-umount ${USB_DEV}1
-mkfs.vfat -F 16 -n kubuntu8 ${USB_DEV}1
-mount ${MOUNT_POINT}/kubuntu8
-if [ $? -ne 0 ] ; then
-  echo "Mount of USB boot partition failed."
-  exit 1
-fi
-cd ${MOUNT_POINT}/kubuntu8
-if [ $? -ne 0 ] ; then
-  echo "Could not cd to USB boot partition"
-  exit 1
-fi
-tar xfz ${BOOT_IMAGE} .
-ls -l ${MOUNT_POINT}/kubuntu8
-sync
-unmount ${MOUNT_POINT}/kubuntu8