mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 22:31:18 +00:00

Add command line xml merge tool for when that time comes. Add Red Falcon Heliz mod as the work-in-progress for getting a turnkey system that merges many different XML files that a full server mod installation will require. Fix finding a mod by index and use that for all mod operations. Start re-working how mods are added/removed/activated/deactivated. Split the script up into separate files with distinct functionality. WIP. Add a template system for handling mod XML files. Add an express web server to be the provisioning container frontend. Add lots of comments. Add TL;DR for turnkey release server install.
15 lines
261 B
Bash
Executable file
15 lines
261 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Set PS1 so we know we're in the container
|
|
if ! [ -f .bashrc ]
|
|
then
|
|
echo "Creating .bashrc..."
|
|
cat > .bashrc <<EOF
|
|
alias ls='ls --color'
|
|
export PS1="${debian_chroot:+($debian_chroot)}\u@dz-main:\w\$ "
|
|
EOF
|
|
fi
|
|
|
|
cd /web
|
|
npm i
|
|
node index.js
|