49783627c5ad0c4abdcd97f9773549467daa1f9f
[svn42.git] / router_gpio_relay_licht / rc.local
1 # Put your custom commands here that should be executed once
2 # the system init finished. By default this file does nothing.
3
4 rmmod gpio_button_hotplug
5 echo 7 > /sys/class/gpio/export
6 echo 18 > /sys/class/gpio/export
7 echo 20 > /sys/class/gpio/export
8 echo 29 > /sys/class/gpio/export
9 echo out > /sys/class/gpio/gpio7/direction
10 echo out > /sys/class/gpio/gpio18/direction
11 echo out > /sys/class/gpio/gpio20/direction
12 echo out > /sys/class/gpio/gpio29/direction
13
14 exit 0