8 PID
=`pidof -o %PPID /usr/bin/synergys`
11 stat_busy
"Starting Synergy Server"
12 [ -z "$PID" ] && /usr
/bin
/synergys
--config /etc
/synergy.conf
&> /dev
/null
16 add_daemon
$daemon_name
21 stat_busy
"Stopping Synergy Server"
22 [ ! -z "$PID" ] && kill -9 $PID &> /dev
/null
26 rm_daemon
$daemon_name
36 echo "usage: $0 {start|stop|restart}"