Commit 8ff68765 authored by carbon's avatar carbon

use duo-init.sh to initialize some hardware interfaces

parent be2a6954
...@@ -15,6 +15,10 @@ case "$1" in ...@@ -15,6 +15,10 @@ case "$1" in
echo "Starting app..." echo "Starting app..."
if [ -f $SYSTEMPATH/duo-init.sh ]; then
. $SYSTEMPATH/duo-init.sh &
fi
if [ -f $SYSTEMPATH/blink.sh ]; then if [ -f $SYSTEMPATH/blink.sh ]; then
. $SYSTEMPATH/blink.sh & . $SYSTEMPATH/blink.sh &
fi fi
......
#!/bin/sh
# set PWR_GPIO[4] to gpio
devmem 0x0502707c 32 0x111
devmem 0x03001068 32 0x3
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment