mirror of
https://github.com/RasppleII/a2server.git
synced 2024-12-25 05:29:35 +00:00
21 lines
378 B
Bash
Executable File
21 lines
378 B
Bash
Executable File
#! /bin/bash
|
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
|
|
|
# --- 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
|