1#!/bin/sh /etc/rc.common 2 3START=99 4 5start() { 6 . /lib/socfpga.sh 7 8 local board=$(socfpga_board_name) 9 10 # Print something nice on the VTcon (the SPI LCD) 11 if [ "${board}" = "socfpga-sockit" ] ; then 12 echo "OpenWRT" > /dev/tty0 13 uci show network.lan.ipaddr > /dev/tty0 14 fi 15} 16