sockit_vtcon 275 B

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