From: Kern Sibbald Date: Fri, 2 Jan 2009 17:10:39 +0000 (+0000) Subject: Rename X-Git-Tag: Release-5.0.3~844 X-Git-Url: https://git.sur5r.net/?p=bacula%2Frescue;a=commitdiff_plain;h=d9ca0d31bd30b45d7c660a7b3f669ca0834bbb84 Rename --- diff --git a/rescue/linux/usb/partitionusb b/rescue/linux/usb/partitionusb deleted file mode 100755 index 67cdb51..0000000 --- a/rescue/linux/usb/partitionusb +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# -# Partition the USB stick -- the stick is assumed to be at least 3GB in size -# -# First delete all existing partitions -# - -if [ ! `whoami` = "root" ] ; then - echo "" - echo "You need to be root to run this shell script" - echo "" - exit 1 -fi -if [ "x$USB_DEVICE" = "x" ] ; then - if [ "x$1" = "x" ] ; then - echo "You must supply the USB device name on the command line or in USB_DEVICE" - exit 1 - else - dev=$1 - fi -else - dev=$USB_DEVICE -fi -echo "This script will distroy everything on $dev" -echo "Answer yes to continue " -read a -if [ "$a" != "yes" ] ; then - echo "Device $dev unchanged" - exit 1 -fi - -fdisk $dev <