summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/ncid-client/run
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-05-14 01:38:13 (GMT)
committerCecil <knoppmyth@gmail.com>2012-05-14 01:38:13 (GMT)
commit6fa6efd0975ac9e669ee73fe009c25fe739ac017 (patch)
treeb4e1cdb3e3001a1209fe932b2e26db33b0ed9120 /abs/core/runit-scripts/runitscripts/services/ncid-client/run
parente465b073524b59ea2b795d525cf39675857cf2ee (diff)
parentc04f2dfff3a4abbe0e3b4a7247f0001f797b07ac (diff)
downloadlinhes_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-client/run')
-rw-r--r--abs/core/runit-scripts/runitscripts/services/ncid-client/run10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/ncid-client/run b/abs/core/runit-scripts/runitscripts/services/ncid-client/run
new file mode 100644
index 0000000..80c2af5
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/ncid-client/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# Start/stop the ncid-client
+#
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/systemconfig
+stat_runit "Starting caller id client (ncid-client)"
+exec 2>&1
+exec /usr/bin/ncid --no-gui --program /usr/share/ncid/ncid-linhes $dbhost 3333