a2server/scripts/a2server-1-storage.txt
T. Joseph Carter ae14808b80 Import Ivan's A2SERVER scripts
This reflects Ivan Drucker's current A2SERVER scripts as of 2015-Oct-01,
version 1.24.  These are unmodified and cannot be directly used yet.  A
later patch will begin correcting that, but a baseline is important.
2015-10-03 05:25:44 -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