You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
# Check if data folder is empty, bootstrap it if so
|
|
if [ ! -d "/server/data/data" ]; then
|
|
echo -e "Data folder empty, populating with CoreScripts"
|
|
cp -a /server/CoreScripts/. /server/data/
|
|
fi
|
|
|
|
# Execute the rest of the arguments as a command
|
|
exec $@
|