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