1 Reply Latest reply on May 16, 2016 5:10 PM by CMata_Intel

    "iwconfig wlan0" not executing at startup

    jingwei95

      I'm totally new to Linux


      How do I run a command on startup ?


      I'm running a startup .sh script to get the network parameters(Signal level,Bit Rate, Link Quality)  on my Intel Edison to save it into a text file(test.txt).


      And there's no rc.local for Yocto, where should I put this .sh file to make it run on startup?


      My code in the .sh file is looks like this:

      #!/bin/sh

      iwconfig wlan0 | grep -E -o ".{0,1}-.{0,6} |.{0,4}Mb/s.{0,3}|.{0,3}/70.{0,0}"