Created
August 4, 2014 19:42
-
-
Save FrancisVarga/a55691a3ebfade9d411b to your computer and use it in GitHub Desktop.
mount something
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -d "/tmp/build_mnt" ]; then | |
echo "/tmp/build_mnt already mounted - skip" | |
else | |
echo "Mount NAS to /tmp/build_mnt" | |
mkdir /tmp/build_mnt | |
mount -t smbfs //{{user}}:{{password}}@{{path}}/build {{mount_point}} | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment