Ad Blocking after Update to RUTX_R_00.07.06

To install:

opkg update
opkg -e /etc/opkg/openwrt/distfeeds.conf update
opkg -e /etc/opkg/openwrt/distfeeds.conf install adguardhome

Edit /etc/init.d/adguardhome, add:

/bin/mkdir -p /tmp/var/adguardhome/data /opt/var/adguardhome/data/filters >/dev/null 2>&1
/bin/ln -sf /opt/var/adguardhome/data/filters /tmp/var/adguardhome/data >/dev/null 2>&1

just before the “procd_open_instance” line.
This will ensure that the truly temporary files stay in /tmp and the filter files are stored in flash memory.

2 Likes