OK3568 4.19.206 Add an Auto-start Script

Document classification: □ Top secret □ Secret □ Internal information ■ Open

Revision History

Date

Version

Revision History

04/08/2022

V1.0

Initial Version

Add an Auto-start Script

Note: This routine uses an auto-start script to initiate Wi-Fi hotspot connection upon boot.

Method: Create/etc/init.d/S99mywifi.sh

Note: The prefix S99 is mandatory.

Add the followings:

#!/bin/sh

/usr/bin/fltest_wifi.sh -i mlan0 -s “forlinx” -p 12345678 &

WiFi hotspot name: forlinx; password: 12345678

Grant executable permissions to the S99mywifi.sh script:

chmod +x S99mywifi.sh

Execution Effect:

If the script displays the information shown in the red box, it indicates a successful connection.

Image