3 # Copyright (c) 2018 Enea AB and others
5 # This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
9 # http://www.apache.org/licenses/LICENSE-2.0
12 VOL_DEV_NAME=${1:-vdb}
13 echo "VOL_DEV_NAME: $VOL_DEV_NAME"
15 echo "$(lsblk -l -o NAME)"
16 if [ ! -z $VOL_DEV_NAME ]; then
17 sudo mount /dev/$VOL_DEV_NAME $DEST
18 if [ -f $DEST/new_data ]; then
19 echo "Found new data!"
21 echo "Failed to find data!"