diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-23 23:45:01 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-23 23:45:01 (GMT) |
commit | 608387a01077ddd0733a46e47cee06c304bf62e3 (patch) | |
tree | 250ebe3505655ac72f7b581174b2956ad2b5b7c4 /abs/core/ceton_infinitv/ceton_usb_init.sh | |
parent | c20b59ce734c7f86cdc96370548dd4755fb16d6e (diff) | |
download | linhes_pkgbuild-608387a01077ddd0733a46e47cee06c304bf62e3.zip linhes_pkgbuild-608387a01077ddd0733a46e47cee06c304bf62e3.tar.gz linhes_pkgbuild-608387a01077ddd0733a46e47cee06c304bf62e3.tar.bz2 |
ceton_infinitv: new package that contains the drivers & udev rules both PCI and USB infinitv tuners.
Adding/removing a USB tuner will restart the userspace infinitv_usb program.
refs #899
Diffstat (limited to 'abs/core/ceton_infinitv/ceton_usb_init.sh')
-rwxr-xr-x | abs/core/ceton_infinitv/ceton_usb_init.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/ceton_infinitv/ceton_usb_init.sh b/abs/core/ceton_infinitv/ceton_usb_init.sh new file mode 100755 index 0000000..d49cf9b --- /dev/null +++ b/abs/core/ceton_infinitv/ceton_usb_init.sh @@ -0,0 +1,11 @@ +#!/bin/bash +#Script to bring up the network for the usb ceton infinitv +#Will also start the infinitv_usb userspace program. +/etc/net/scripts/network.init start + +if [ ! -e /service/infinitv_usb ] +then + /sbin/add_service.sh infinitv_usb +else + /sbin/sv restart infinitv_usb +fi |