mirror of
https://github.com/RasppleII/a2server.git
synced 2024-12-24 14:31:21 +00:00
ae14808b80
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.
19 lines
335 B
Bash
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 |