#!/bin/ash

if [ ! -d /mnt/server/ ]; then
    mkdir /mnt/server/
fi

cd /mnt/server

FILE=/mnt/server/murmur.ini
if [ -f "$FILE" ]; then
    echo "Config file already exists."
else 
    echo "Downloading the config file."
    apk add --no-cache murmur
    cp /etc/murmur.ini /mnt/server/murmur.ini
    apk del murmur
fi
echo "done"