#!/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