Created
April 21, 2015 10:21
-
-
Save fwartner/0528995df3ca184d5499 to your computer and use it in GitHub Desktop.
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 | |
sudo apt-get update && sudo apt-get upgrade -y | |
sudo apt-get install autofs -y | |
sudo mkdir /automnt | |
sudo echo "/automnt /etc/auto.automnt --timeout=5 --ghost" > /etc/auto.automnt | |
sudo blkid -o list -w /dev/null | |
sudo service autofs reload && sudo service autofs start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment