diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-09 02:33:06 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-09 02:33:06 (GMT) |
commit | 1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e (patch) | |
tree | f336ee91ce16c6591fff50340562e07e15aa1a55 /abs/mv-core/ncid/ncid-osd | |
parent | 75b1bceb21faab32d8f519d6f7f7062a226f9047 (diff) | |
download | linhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.zip linhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.tar.gz linhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.tar.bz2 |
MythVantage specific pkgs
Diffstat (limited to 'abs/mv-core/ncid/ncid-osd')
-rw-r--r-- | abs/mv-core/ncid/ncid-osd | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/mv-core/ncid/ncid-osd b/abs/mv-core/ncid/ncid-osd new file mode 100644 index 0000000..e115561 --- /dev/null +++ b/abs/mv-core/ncid/ncid-osd @@ -0,0 +1,26 @@ +#!/bin/sh +#set -x +# most of this program is taken from nciduser by Mace Moneta +# requires festival: http://www.cstr.ed.ac.uk/projects/festival + +# input is 4 lines obtained from ncid using the "-all" option +# input: DATE\nTIME\nNUMBER\nNAME +# ncid calls a external program with the "--call-prog" option +# default program: /usr/share/ncid/ncid-page +# +# ncid usage examples: +# ncid --all --call-prog +# ncid --all --call-prog --program ncid-osd +# ncid --no-gui --all --call-prog --program ncid-osd + +read CIDDATE +read CIDTIME +read CIDNMBR +read CIDNAME +#CIDNAME="test name" +#CIDNMBR="(414) 282 5011" +ConfigDir=/etc/ncid +ConfigFile=$ConfigDir/ncidscript.conf +info="$CIDNMBR $CIDNAME" +osdClient.pl localhost 5000 "$info:::SYS" +exit 0 |