blob: 804235e6b6503645bf81b4dcecaf941303020fea (
plain) (
tree)
|
|
install_bwSuite_server() {
# $1: directory to install server to
echo "# Installing server part of bwSuite... "
mkdir -p "$1" || perror "Cannot create $1"
tar -x -f -C /opt/dmsd "$BASEDIR/static_files/dozmod.tar.gz" \
|| perror "Could not extract dmsd"
chown -R root:root "$1"
chmod -R go-w "$1"
install_files "dmsd"
chown root:images "$1/config.properties"
chmod 0640 "$1/config.properties"
}
|