e641d42a37
Small GPIO driver that exports a few pins using a virtual file system. Currently the two user leds and the user button are exported. Change-Id: I001d017ae27cd17b635587873f7da981054da459
18 lines
313 B
Bash
Executable file
18 lines
313 B
Bash
Executable file
#!/bin/sh
|
|
# LSC FIXME quick hack, we should retink the rc script so we do not
|
|
# get two different script
|
|
set -e
|
|
|
|
|
|
exec >/dev/log
|
|
exec 2>/dev/log
|
|
exec </dev/null
|
|
|
|
#XXX
|
|
#/bin/service -c up /sbin/mmc -dev /dev/c0d0
|
|
#/bin/fsck.mfs -p /dev/c0d0p1
|
|
#/bin/mount /dev/c0d0p1 /mnt
|
|
#gpio
|
|
#mount -t gpio none /gpio
|
|
|
|
exit
|