diff options
Diffstat (limited to 'abs/core/runit-scripts')
-rwxr-xr-x | abs/core/runit-scripts/PKGBUILD | 2 | ||||
-rw-r--r-- | abs/core/runit-scripts/runitscripts/services/ncid-server/run | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD index d8acb9f..581bf06 100755 --- a/abs/core/runit-scripts/PKGBUILD +++ b/abs/core/runit-scripts/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit-scripts pkgver=2.1.1 -pkgrel=75 +pkgrel=77 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" diff --git a/abs/core/runit-scripts/runitscripts/services/ncid-server/run b/abs/core/runit-scripts/runitscripts/services/ncid-server/run index 126909d..337b028 100644 --- a/abs/core/runit-scripts/runitscripts/services/ncid-server/run +++ b/abs/core/runit-scripts/runitscripts/services/ncid-server/run @@ -1,6 +1,6 @@ #!/bin/sh # -# Start/stop the ncid-client +# Start/stop the ncid-server # . /etc/rc.conf . /etc/rc.d/functions @@ -11,5 +11,10 @@ if [ -f /etc/ncid/ncidd-user.conf ] then exec /usr/sbin/ncidd -D -C /etc/ncid/ncidd-user.conf else - exec /usr/sbin/ncidd -D -t /dev/$nciddSerialPort + if [ x$nciddDeviceNetCallerID = "x1" ] + then + exec /usr/sbin/ncidd -D -t /dev/$nciddSerialPort --nomodem 1 -S 4800 + else + exec /usr/sbin/ncidd -D -t /dev/$nciddSerialPort -S 4800 + fi fi |