blob: 4526faeea463ee0b896ab2cd199cb48146940b47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
#
# Start/stop the ncid-server
#
. /etc/rc.conf
. /etc/rc.d/functions
. /etc/systemconfig
stat_runit "Starting caller id server (ncid)"
exec 2>&1
if [ -f /etc/ncid/ncidd-user.conf ]
then
exec /usr/bin/ncidd -D -C /etc/ncid/ncidd-user.conf
else
if [ x$nciddDeviceNetCallerID = "x1" ]
then
exec /usr/bin/ncidd -D -t /dev/$nciddSerialPort --nomodem 1 -S 4800
else
exec /usr/bin/ncidd -D -t /dev/$nciddSerialPort -S 4800
fi
fi
|