Skip to content

Instantly share code, notes, and snippets.

@rkantos
rkantos / bf2server_bf2cc_install.sh
Last active January 4, 2023 01:17
BF2 server installation script for Debian 9-11 & Ubuntu 20.xx
#!/bin/bash
# adapted from https://github.com/mauirixxx/bf2d-bf2ccd/blob/master/install_bf2d_bf2ccd.sh
# and https://github.com/nihlen/bf2-docker/blob/master/assets/extract
# bf2server_bf2cc_install.sh
# bf2cc help:
# Optional command line switches:
# -configdaemon Goes through the reconfiguration section
# -ranked Runs the server in ranked mode
# -showlog Shows log to screen
# -lockdemorec Locks down demo recording (nobody can change)