change mount names to more ralated terms.

This commit is contained in:
Philip Henning 2018-12-28 13:18:11 +01:00
parent 30e5f8ff72
commit a81a1312f6

View file

@ -10,7 +10,7 @@ if [[ -z "$1" ]]; then
echo "e.g.: $0 c3" echo "e.g.: $0 c3"
echo " " echo " "
echo "Valid options:" echo "Valid options:"
options=( c3 c3cw ) options=( storage aws )
for i in "${options[@]}"; do for i in "${options[@]}"; do
echo " - $i" echo " - $i"
done done
@ -28,11 +28,11 @@ if mount | grep $video > /dev/null; then
fi fi
case $1 in case $1 in
c3) storage)
mount.cifs //storage.lan.c3voc.de/fuse $fuse -o rw,guest -o uid=phg mount.cifs //storage.lan.c3voc.de/fuse $fuse -o rw,guest -o uid=phg
mount.cifs //storage.lan.c3voc.de/video $video -o rw,guest -o uid=phg mount.cifs //storage.lan.c3voc.de/video $video -o rw,guest -o uid=phg
;; ;;
c3cw) aws)
mount.cifs //aws.lan.c3voc.de/fuse $fuse -o rw,guest -o uid=phg mount.cifs //aws.lan.c3voc.de/fuse $fuse -o rw,guest -o uid=phg
mount.cifs //aws.lan.c3voc.de/video $video -o rw,guest -o uid=phg mount.cifs //aws.lan.c3voc.de/video $video -o rw,guest -o uid=phg
;; ;;