Chapter 10:
Appendix
167
v3.3-a 12/07/2022
10.2 Failover scenarios
Coming soon…
10.3 Persistent Custom Files
When an expert user needs to modify some configuration with custom settings (e.g., complex
firewall rules) or wants to add new tools to the
“official” firmware
, he can use the custom mount
directories mechanisms: This allow to store persistent files by placing them into the second ext4
partition on the SD drive mounted as /media/data which will be then mounted at next boot into
the operating system directories:
Directory in SD drive
Mount points
Comments
/media/data/update
/media/data/update
Always created, used to update the FW
/media/data/root
/media/data/root
Root files where we can store the
configuration
/media/data/usr/local/bin
/usr/local/bin
For custom binaries tools
/media/data/usr/local/sbin
/usr/local/sbin
For custom script
/media/data/usr/local/lib
/usr/local/lib
For custom libraries
/media/data/usr/local/etc
/etc/
Create symbolic links into the /etc dir
Updating with custom scripts
When updating to a new release, the expert user needs to check that its custom scripts
do not interferes with the booting procedure of the new release. In case of doubt,
please contact the support team to get advice on how to proceed.
Rebooting
These directories are mounted/linked only at the early stage of WRZ-OS initialization. A
reboot might be needed to make these custom files appears at the correct place.
Содержание WR-Z16
Страница 2: ...Chapter 1 Introduction 2 v3 3 a 12 07 2022 ...
Страница 10: ...Chapter 1 Introduction 10 v3 3 a 12 07 2022 ...
Страница 72: ...Chapter 5 Timing 72 v3 3 a 12 07 2022 ...
Страница 148: ...Chapter 8 Device Maintenance 148 v3 3 a 12 07 2022 ...
Страница 159: ...Chapter 9 Troubleshooting 159 v3 3 a 12 07 2022 Severity info local0 rsyslog server1 IP local0 rsyslog server2 IP ...