#!/bin/ash
. /opt/openslx/config
# Try to get fresh version from server
CONF=if[-n"$SLX_PVS_CONFIG_URL"];then
DST="$(mktemp)"
wget -T5-O"${DST}""$SLX_PVS_CONFIG_URL"[-s"${DST}"] && CONF="--config=${DST}"fi
openbox &exec/opt/openslx/bin/pvsmgr "$CONF""$@"