phantasm22 / AdGuardHome-updater

Shell script to update AdGuardHome on GL.iNet and Asus routers
GNU General Public License v3.0
0 stars 0 forks source link

Doesn't work with GL-MT6000 #1

Closed ferboiar closed 7 months ago

ferboiar commented 7 months ago
GL-MT6000@~/scripts # ./update-agh.sh
AdGuardHome Upgrader for GL.INET and Asus Routers

   Found supported arch type: aarch64
   Looking for suitable version of wget: PASS!
   Found AdGuardHome binary: /etc/AdGuardHome/AdGuardHome
   Can't find existing AdGuardHome config file. Maybe dups? Exiting...
GL-MT6000@~/scripts #

AdGuardHome config file is here:

GL-MT6000@~/scripts # ll /etc/AdGuardHome/
drwxr-xr-x    1 root     root          3488 Apr  3 08:19 ./
drwxr-xr-x    1 root     root          3488 Mar 27 16:28 ../
-rwxr-xr-x    1 root     root      27085673 Mar 19 11:38 AdGuardHome*
-rw-r--r--    1 root     root          3117 Apr  3 08:19 config.yaml
drwxr-xr-x    3 root     root          3488 Apr  3 08:19 data/
GL-MT6000@~/scripts #
phantasm22 commented 7 months ago

Your config file is non standard. Please rename it to AdGuardHome.yaml and try again.