Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |
| network:ax4200:install_additional_software [2026/10/25 17:29] – [How a script is started at boot (asusware.arm mechanism)] admin | network:ax4200:install_additional_software [2026/10/25 17:49] (current) – admin |
|---|
| ``` | ``` |
| |
| The real script lives in `data/` and is only symlinked into `etc/init.d/`, so it can be edited without touching the app directory. It expects `start`/`stop` as `$1`, logs with `logger -t <TAG>` (check **System Log** for the tag after reboot), and in the `start` branch patches `/etc/dnsmasq.conf` to read `conf-dir=/tmp/mnt/sda1/data/dnsmasq.d`, opens the TFTP firewall ports and restarts dnsmasq. | The real script lives in `data/` and is only symlinked into `etc/init.d/`, so it can be edited without touching the app directory. It expects `start`/`stop` as `$1`, logs with `logger -t <TAG>` (check **System Log** for the tag after reboot), and in the `start` branch patches `/etc/dnsmasq.conf` to read `conf-dir=/tmp/mnt/sda1/data/dnsmasq.d`, opens the TFTP firewall ports and restarts dnsmasq. What this is used for is described in [Enable TFTP booting](Network:AX4200:Enable_TFTP_booting). |
| |
| The relevant files from the router (`app_init_run.sh`, `app_get_field.sh`, the init script, control file and the patch script) are kept as a mirror of the router filesystem under `network/ax4200/router-files/`. | The relevant files from the router (`app_init_run.sh`, `app_get_field.sh`, the init script, control file and the patch script) are kept as a mirror of the router filesystem under `network/ax4200/router-files/`. |