blob: 3c632c261cc9a925304626faa92702f170a39d50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh /etc/rc.common
START=99
start() {
insmod /lib/modules/2.6.30.9/gpio_rtl819x.ko
echo 0x340c00 > /sys/module/gpio_rtl819x/parameters/rtl819x_mux
echo 6 > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio6/direction
echo "0" > /sys/class/gpio/gpio6/value
}
stop() {
rmmod gpio_rtl819x
}
|