a2server/docs/ivanx/scripts/a2server-1-storage.txt
2015-10-23 05:09:22 -07:00

19 lines
335 B
Bash

#!/bin/bash
# --- Setting up the share volume
# skip if we're already set up
if [[ -d /media/A2SHARED ]]; then
echo "A2SERVER: Shared disk is already prepared for use."
else
echo "A2SERVER: Preparing the shared files disk..."
sudo mkdir /media/A2SHARED
sudo chown $USER:$USER /media/A2SHARED
fi