mirror of
https://github.com/shokinn/.files.git
synced 2025-01-19 05:22:25 +00:00
change mount names to more ralated terms.
This commit is contained in:
parent
30e5f8ff72
commit
a81a1312f6
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue