projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
[oweals/openwrt.git]
/
package
/
om2p-watchdog
/
files
/
om2p-watchdog
1
#!/bin/sh
2
3
GPIO=12
4
5
echo $GPIO > /sys/class/gpio/export
6
echo out > /sys/class/gpio/gpio${GPIO}/direction
7
8
while true; do
9
echo 1 > /sys/class/gpio/gpio${GPIO}/value
10
sleep 1
11
echo 0 > /sys/class/gpio/gpio${GPIO}/value
12
sleep 180
13
done