Project

General

Profile

Revision 0276f557

ID0276f55758c1d3306722996c41b77242266806c8
Parent ed37d345
Child a0644b40

Added by Thomas Mullins almost 4 years ago

Added /etc/modules, and changed network setup

Removed /etc/network/interfaces, which blocks until a dhcp server gives
the Gumstix an IP address resulting in a boot time of ~2:15 instead of
~0:15. Instead, dhclient is started in rc.local.

View differences:

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