summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/services/ncid/run
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-04-10 16:44:42 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-04-10 16:44:42 (GMT)
commit5e80643fcd0df6419f18bccba6594a251eb2d179 (patch)
tree02eba330ea85211042a4fa4fcb0c9147c77d3e8a /abs/core-testing/runit-scripts/runitscripts/services/ncid/run
parent6a486a28262c43e8ae2c1a742b4ffd4b29eaf0d0 (diff)
downloadlinhes_pkgbuild-5e80643fcd0df6419f18bccba6594a251eb2d179.zip
linhes_pkgbuild-5e80643fcd0df6419f18bccba6594a251eb2d179.tar.gz
linhes_pkgbuild-5e80643fcd0df6419f18bccba6594a251eb2d179.tar.bz2
runit-scripts: added fbsplash-runit.sh and general cleanup to make text pretty
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/services/ncid/run')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/ncid/run9
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/ncid/run b/abs/core-testing/runit-scripts/runitscripts/services/ncid/run
index 7dbc8ba..44154c7 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/ncid/run
+++ b/abs/core-testing/runit-scripts/runitscripts/services/ncid/run
@@ -1,12 +1,21 @@
#!/bin/sh
exec 2>&1
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+
which ncid 2>/dev/null >/dev/null
+
if [ $? = 0 ]
then
if [ -f /var/service/ncidd/run ]
then
sv start ncidd
fi
+
+ stat_runit "Starting callerid client"
+
exec /usr/bin/ncid --no-gui --all --call-prog --program /usr/bin/ncid.py 127.0.0.1 3333
fi