Skip to content
Snippets Groups Projects
Commit 83bb1460 authored by Bob Mottram's avatar Bob Mottram
Browse files

Mounting backup drive

parent a5daaa17
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,11 @@ function backup_to_friends_servers {
function backup_mount_drive {
if [ $1 ]; then
USB_DRIVE=/dev/${1}1
if [[ "$1" == "/dev/"* ]]; then
USB_DRIVE=$1
else
USB_DRIVE=/dev/${1}1
fi
fi
# get the admin user
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment