Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- stweb="/mnt/stweb"
- if ! mount|grep $stweb; then
- sudo mkdir -p $stweb
- sudo mount.cifs //<server IP>/folder $stweb -o uid=1000,gid=1000,user=<myuser>,password=<mypassword>,domain=<mydomain>
- fi
- #!/bin/bash
- sudo umount -a -t cifs -l
- $ lsb_release -a
- No LSB modules are available.
- Distributor ID: Ubuntu
- Description: Ubuntu 15.10
- Release: 15.10
- Codename: wily
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement