3.2 Setting up to Run Client Programs
#
# Start NetAudio server
#
if [ -f /usr/local/bin/naserver ]; then
/usr/local/bin/naserver & echo " NetAudio"
fi
On a machine running Solaris or other System V versions of UNIX, you can create
a le called, for example,
example assuming that
naserver
#!/bin/sh
if [ ! -x /usr/local/bin/naserver ] ; then
exit
fi
case "$1" in
'start')
echo "Starting naserver"
/usr/local/bin/naserver
;;
'stop')
echo "Stopping naserver"
pid=3D`/usr/bin/ps -e |
/usr/bin/grep naserver |
/usr/bin/sed -e 's/^
kill $pid
;;
*)
echo "Usage: S98datlink { start | stop }"
;;
esac
Other workstations and operating systems may require slightly dierent commands.
3.2 Setting up to Run Client Programs
Once the NetAudio server is running, clients can be immediately run on the same
host. However, when running client programs on other hosts, the user must rst
tell the client where to nd the server. One way to do this is to set the environment
variable,
AUDIO DEVICE
on which the NetAudio server is running, and unit is the
S98datlink
, in the directory
was installed in
*//' -e 's/ .*//'`
, to the string host:unit where host is the name of the host
/etc/rc2.d
. Here is an
/usr/local/bin:
DAT-Link
unit number of
47
Need help?
Do you have a question about the DAT-Link and is the answer not in the manual?