Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mount_one=sudo mount -t cifs //192.168.1.101/Serier /media/Serier/ -o username=benne,password=benne123
- if [ $? = 0 ]
- then
- echo "Mount sucessfull"
- else
- echo "Mount failed"
- fi
- sudo mount -t cifs //192.168.1.101/Bilder /media/Musik/ -o username=benne,password=benne123
- sudo mount -t cifs //192.168.1.101/Filmer /media/Filmer/ -o username=benne,password=benne123
- sudo mount -t cifs //192.168.1.101/Musik /media/Musik/ -o username=benne,password=benne123
- sudo mount -t cifs //192.168.1.101/Programmering /media/Programmering/ -o username=benne,password=benne123
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement