diff options
author | root <root@vecchiofono.home.trueelena.org> | 2015-06-21 17:16:54 +0100 |
---|---|---|
committer | root <root@vecchiofono.home.trueelena.org> | 2015-06-21 17:16:54 +0100 |
commit | 3850058aa07df5bb542822eac24d50c961fdacec (patch) | |
tree | c27ed110e18a0c79157af00dfc1fbacebfe2bb15 /init_3.4.sh |
Initial version
Diffstat (limited to 'init_3.4.sh')
-rwxr-xr-x | init_3.4.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/init_3.4.sh b/init_3.4.sh new file mode 100755 index 0000000..9852ddf --- /dev/null +++ b/init_3.4.sh @@ -0,0 +1,5 @@ +modprobe gpio-sunxi + +echo 15 > /sys/class/gpio/export +echo in > /sys/class/gpio/gpio15_pb2/direction +echo rising > /sys/class/gpio/gpio15_pb2/edge |