flm01/mote/v2/openwrt/files/etc/rc.local

10 lines
260 B
Plaintext

# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
# set the wifi led pin (=GPIO 7) direction to output
gpioctl dirout 7
# set rw permissions for spidev
chmod 666 /dev/spidev0.0
exit 0