summaryrefslogtreecommitdiff
path: root/package/ifx-vmmc/files/vmmc.init
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-01 14:32:25 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-01 14:32:25 +0000
commit9a5ae46bbbc62db4c8faa646d8383017b904cdad (patch)
tree4a3ef2bf9d4e49afe3ebef3bc5b5933805720502 /package/ifx-vmmc/files/vmmc.init
parent3b329ec7b5c182f2b66e86a855b633c4b97ee5f1 (diff)
[lantiq voice]
* rename voice package * sync with lantiqs release * make it work on lantiq kernel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25275 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ifx-vmmc/files/vmmc.init')
-rw-r--r--package/ifx-vmmc/files/vmmc.init25
1 files changed, 0 insertions, 25 deletions
diff --git a/package/ifx-vmmc/files/vmmc.init b/package/ifx-vmmc/files/vmmc.init
deleted file mode 100644
index bae7badaf0..0000000000
--- a/package/ifx-vmmc/files/vmmc.init
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh /etc/rc.common
-#
-# Activate Voice CPE TAPI subsystem LL driver for VMMC
-
-START=31
-
-start() {
- # TODO: clean up this mess
- [ `cat /proc/cpuinfo | grep system | cut -f 3 -d ' '` = "Twinpass-VE" ] && {
- [ ! -e /dev/danube-port ] && mknod /dev/danube-port c 254 0
- return;
- }
- [ `cat /proc/cpuinfo | grep system | cut -f 3 -d ' '` != "Danube" ] && {
- [ ! -e /dev/amazon_s-port ] && mknod /dev/amazon_s-port c 240 1
- echo "INFO configuring HW scheduling 33/66"
- echo "t0 0x0" > /proc/mips/mtsched
- echo "t1 0x1" > /proc/mips/mtsched
- echo "v0 0x0" > /proc/mips/mtsched
- }
- [ `cat /proc/cpuinfo | grep system | cut -f 3 -d ' '` = "Danube" ] && {
- [ ! -e /dev/danube-port ] && mknod /dev/danube-port c 240 1
- # switch life-line relais
- echo 1 > /sys/class/leds/fxs_relay/brightness
- }
-}