- #! /bin/bash
- if [ "$1" ]; then
- if [ "$1" = "multimedia" ]; then
- sudo mount 192.168.1.11:Multimedia /mnt/Qnap-gui/multimedia
- elif [ "$1" = bach ]; then
- sudo mount 192.168.1.11:bach /mnt/Qnap-gui/bach
- fi
- else
- echo "please choose a directory to mount : multimedia or bach"
- fi
|