mac80211: update to wireless-testing 2010-11-16
[openwrt.git] / package / ifx-vmmc / files / vmmc.init
1 #!/bin/sh /etc/rc.common
2 #
3 # Activate Voice CPE TAPI subsystem LL driver for VMMC
4
5 START=31
6
7 start() {
8 # TODO: clean up this mess
9 [ `cat /proc/cpuinfo | grep system | cut -f 3 -d ' '` = "Twinpass-VE" ] && {
10 [ ! -e /dev/danube-port ] && mknod /dev/danube-port c 254 0
11 return;
12 }
13 [ `cat /proc/cpuinfo | grep system | cut -f 3 -d ' '` != "Danube" ] && {
14 [ ! -e /dev/amazon_s-port ] && mknod /dev/amazon_s-port c 240 1
15 echo "INFO configuring HW scheduling 33/66"
16 echo "t0 0x0" > /proc/mips/mtsched
17 echo "t1 0x1" > /proc/mips/mtsched
18 echo "v0 0x0" > /proc/mips/mtsched
19 }
20 [ `cat /proc/cpuinfo | grep system | cut -f 3 -d ' '` = "Danube" ] && {
21 [ ! -e /dev/danube-port ] && mknod /dev/danube-port c 240 1
22 # switch life-line relais
23 echo 1 > /sys/class/leds/fxs_relay/brightness
24 }
25 }
This page took 0.053519 seconds and 5 git commands to generate.