Revision 0276f557 scout_gumstix/etc/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