Script autostart

  1. To run script automatically after boot, update /etc/rc.local (via Web UI or SSH) to include:

/usr/bin/poll_api.sh &
exit 0

To do it via Web UI go to System - User Scripts, modify the startup script as shown and save.

Click Save to store the changes.

  1. Reboot the router. You may enter reboot in Putty or power cycle the router to do so.

Use System Log to verify script execution and check for poll_api log entries.

Last updated