This file contains hidden or 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 | |
# this script will run only once. it is to be placed in the /etc/init.d/ directory | |
# it will create an ebs volume and mount it | |
# add it to /etc/init.d/mounter | |
# and run sudo update-rc.d mounter defaults | |
# to make it run on boot | |
FLAG="/var/log/mounter.log" | |
if [ ! -f $FLAG ]; then |