mount-qnap-gui.sh 306 B

1234567891011
  1. #! /bin/bash
  2. if [ "$1" ]; then
  3. if [ "$1" = "multimedia" ]; then
  4. sudo mount 192.168.1.11:Multimedia /mnt/Qnap-gui/multimedia
  5. elif [ "$1" = bach ]; then
  6. sudo mount 192.168.1.11:bach /mnt/Qnap-gui/bach
  7. fi
  8. else
  9. echo "please choose a directory to mount : multimedia or bach"
  10. fi