From: Kern Sibbald Date: Sat, 3 Jan 2009 15:12:53 +0000 (+0000) Subject: Update X-Git-Tag: Release-5.0.3~838 X-Git-Url: https://git.sur5r.net/?p=bacula%2Frescue;a=commitdiff_plain;h=3f9e0a488d27419a444e2987c282c3bbb8925a6c Update --- diff --git a/rescue/linux/usb/load_disk_image b/rescue/linux/usb/load_disk_image index 7e99ddc..e25019d 100755 --- a/rescue/linux/usb/load_disk_image +++ b/rescue/linux/usb/load_disk_image @@ -4,6 +4,13 @@ # . ./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