#!/bin/ash
. /opt/openslx/config
DST="/opt/openslx/pvs2/pvs2.ini"# Try to get fresh version from serverif[-n"$SLX_PVS_CONFIG_URL"];then
wget -T10-O"${DST}.new""$SLX_PVS_CONFIG_URL"[-s"${DST}.new" ] && mv -f "${DST}.new" "${DST}"fi# Disable low RAM warnings if we run dedicatedif[-n"$SLX_PVS_DEDICATED"];thentouch"/run/openslx/no-ram-warning"fiexit0