network:ax4200:install_additional_software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network:ax4200:install_additional_software [2026/10/25 17:26] – [How a script is started at boot (asusware.arm mechanism)] adminnetwork:ax4200:install_additional_software [2026/10/25 17:49] (current) – admin
Line 14: Line 14:
 wget -O - http://bin.entware.net/aarch64-k3.10/installer/generic.sh | sh wget -O - http://bin.entware.net/aarch64-k3.10/installer/generic.sh | sh
 ``` ```
-Using a standard init.d startup script system services can be launched on boot. 
  
 ## How a script is started at boot (asusware.arm mechanism) ## How a script is started at boot (asusware.arm mechanism)
 +
 +Using a non-standard `/opt/etc/init.d` startup script system, services can be launched on boot.
  
 We use the app mechanism that Download Master/Optware uses, as described in the [Entware wiki](https://github.com/Entware/Entware/wiki/Install-on-Asus-stock-firmware#alternative-asuswarearm-init-script-recent-firmware): We use the app mechanism that Download Master/Optware uses, as described in the [Entware wiki](https://github.com/Entware/Entware/wiki/Install-on-Asus-stock-firmware#alternative-asuswarearm-init-script-recent-firmware):
Line 39: Line 40:
 ``` ```
  
-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/`.
network/ax4200/install_additional_software.1792945591.txt.gz · Last modified: by admin