diff options
author | Cecil <knoppmyth@gmail.com> | 2012-05-14 01:38:13 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2012-05-14 01:38:13 (GMT) |
commit | 6fa6efd0975ac9e669ee73fe009c25fe739ac017 (patch) | |
tree | b4e1cdb3e3001a1209fe932b2e26db33b0ed9120 /abs/core/runit-scripts/runitscripts/services/ncid-server | |
parent | e465b073524b59ea2b795d525cf39675857cf2ee (diff) | |
parent | c04f2dfff3a4abbe0e3b4a7247f0001f797b07ac (diff) | |
download | linhes_pkgbuild-6fa6efd0975ac9e669ee73fe009c25fe739ac017.zip linhes_pkgbuild-6fa6efd0975ac9e669ee73fe009c25fe739ac017.tar.gz linhes_pkgbuild-6fa6efd0975ac9e669ee73fe009c25fe739ac017.tar.bz2 |
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/ncid-server')
-rw-r--r-- | abs/core/runit-scripts/runitscripts/services/ncid-server/run | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/ncid-server/run b/abs/core/runit-scripts/runitscripts/services/ncid-server/run new file mode 100644 index 0000000..126909d --- /dev/null +++ b/abs/core/runit-scripts/runitscripts/services/ncid-server/run @@ -0,0 +1,15 @@ +#!/bin/sh +# +# Start/stop the ncid-client +# +. /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/sbin/ncidd -D -C /etc/ncid/ncidd-user.conf +else + exec /usr/sbin/ncidd -D -t /dev/$nciddSerialPort +fi |