Revision 0276f557

View differences:

scout_gumstix/etc/modules
1
# /etc/modules: kernel modules to load at boot time.
2
#
3
# This file contains the names of kernel modules that should be loaded
4
# at boot time, one per line. Lines beginning with "#" are ignored.
5

  
6
g_ether
7
i2c_dev
8
pwm
scout_gumstix/etc/network/interfaces
1
# interfaces(5) file used by ifup(8) and ifdown(8)
2
auto lo
3
iface lo inet loopback
4
auto usb0
5
iface usb0 inet dhcp
scout_gumstix/etc/rc.local
11 11
#
12 12
# By default this script does nothing.
13 13

  
14
dhclient -nw usb0
15

  
14 16
export_as_output() {
15 17
  last_dir="$PWD"
16 18
  cd /sys/class/gpio
......
18 20
  cd "gpio$1"
19 21
  echo out > direction
20 22
  chgrp gpio value
21
  chown g+w value # TODO necessary?
23
  chown g+w value
22 24
  cd "$last_dir"
23 25
}
24 26

  

Also available in: Unified diff