summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-05 16:32:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-05 16:32:08 (GMT)
commitb8dba27cc7badb8fe8a4624b07baafa77d0157da (patch)
treeed16d96a1ea379e4e0918bdaa401f09fa058f0d4 /abs/core
parent02887d85ec58fe1a322f6c44bb6b4fba8dba27e8 (diff)
downloadlinhes_pkgbuild-b8dba27cc7badb8fe8a4624b07baafa77d0157da.zip
linhes_pkgbuild-b8dba27cc7badb8fe8a4624b07baafa77d0157da.tar.gz
linhes_pkgbuild-b8dba27cc7badb8fe8a4624b07baafa77d0157da.tar.bz2
runit-scripts: ncid-server add support for NetcallerID also set speed to 4800 for all modem devices.
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rw-r--r--abs/core/runit-scripts/runitscripts/services/ncid-server/run9
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