#!/bin/sh
[ -r ./conf ] && . ./conf
[ -z $SERVER_ADDR ] && exit 0
[ -z $SKIP_X11_TEST ] && ! ps -C Xorg >/dev/null 2>&1 && exit 0
exec synergyc --no-daemon ${OPTS:=--restart} $SERVER_ADDR